# cosine similarity search

A search technique that finds dataset items with the highest cosine similarity to a query, including efficient nearest-neighbor methods.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## CAIMS: Scalable Cross-Array In-Memory Search

DevFeed: [CAIMS: Scalable Cross-Array In-Memory Search](<https://devfeed.tech/articles/caims-scalable-cross-array-in-memory-search-145013.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.25141>)

Author: Yi-Chun Liao, Liu Liu, Ruiyang Qin, Yiran Chen, X. Sharon Hu

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [3d-nand](<https://devfeed.tech/tags/3d-nand.md>), [accelerators](<https://devfeed.tech/tags/accelerators.md>), [array](<https://devfeed.tech/tags/array.md>), [cam](<https://devfeed.tech/tags/cam.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [cs-et](<https://devfeed.tech/tags/cs-et.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [energy-efficiency](<https://devfeed.tech/tags/energy-efficiency.md>), [global](<https://devfeed.tech/tags/global.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [memory](<https://devfeed.tech/tags/memory.md>), [nand](<https://devfeed.tech/tags/nand.md>), [parallelism](<https://devfeed.tech/tags/parallelism.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [search](<https://devfeed.tech/tags/search.md>), [similarity-search](<https://devfeed.tech/tags/similarity-search.md>), [throughput](<https://devfeed.tech/tags/throughput.md>)

### AI overview

CAIMS addresses the challenge of combining local binary match results across multiple content-addressable memory arrays into accurate global top-k similarity results. It uses existing threshold-match functionality and offline plus online parameter selection to produce globally comparable, coarse-grained scores, then performs hierarchical reduction while transferring only selected results and necessary control signals through lightweight local peripherals. In a 3D NAND Flash model evaluated on the retrieval phase of retrieval-augmented generation, it reports up to 22.3x higher throughput and 426.6x better energy efficiency than a server-class CPU, and 10.1x higher throughput and 23.7x better energy efficiency than prior 3D NAND Flash accelerators, with comparable accuracy.

### Source excerpt

arXiv:2611.25141v1 Announce Type: cross Abstract: Search, especially top-k similarity search, plays a vital role in many applications, but its performance can be severely limited by memory access overhead. In-memory search (IMS), an alternative to CPU/GPU-based approaches, exploits massive parallelism within a content-addressable memory (CAM) array to perform search in situ and provides both low latency and high energy efficiency. However, the capacity of a single CAM array is often insufficient for modern workloads, requiring data to be distributed across multiple arrays. Deploying scalable top-k similarity search across multiple CAM arrays poses a fundamental problem that existing designs fail to address: how to accurately and efficiently reduce local binary match results to global top-k results. This work introduces CAIMS, a cross-array IMS framework that is agnostic to memory technologies and applications, enabling scalable and efficient top-k similarity search while preserving accuracy. To enable accurate top-k result reduction, CAIMS leverages the existing threshold match functionality with a combined offline and online parameter selection approach to transform local binary match results that lack globally comparable similarity information into global coarse-grained similarity scores. To further improve efficiency, CAIMS conducts hierarchical reduction and transfers only the selection results and necessary control signals with lightweight local peripherals. Implemented on a 3D NAND Flash model and demonstrated using the retrieval phase of retrieval-augmented generation, CAIMS improves throughput by up to $22.3\times/10.1\times$ and energy efficiency by $426.6\times/23.7\times$ compared to the server-class CPU baseline and prior 3D NAND Flash accelerators, respectively, while maintaining comparable accuracy.

## RE-CAM: Readout-Enhanced Content-Addressable Memory for Quantitative Similarity Search

DevFeed: [RE-CAM: Readout-Enhanced Content-Addressable Memory for Quantitative Similarity Search](<https://devfeed.tech/articles/re-cam-readout-enhanced-content-addressable-memory-for-quantitative-similarity-search-145043.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.25326>)

Author: Yi-Chun Liao, Dongyoung Lee, Jiazheng Chen, Tergel Molom-Ochir, Tomohisa Kawakami, Tania Roy, Ik-Joon Chang, X. Sharon Hu, Hai "Helen" Li, Yiran Chen

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [adc](<https://devfeed.tech/tags/adc.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [approximation](<https://devfeed.tech/tags/approximation.md>), [area](<https://devfeed.tech/tags/area.md>), [array](<https://devfeed.tech/tags/array.md>), [cam](<https://devfeed.tech/tags/cam.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [cs-et](<https://devfeed.tech/tags/cs-et.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data-movement](<https://devfeed.tech/tags/data-movement.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [design](<https://devfeed.tech/tags/design.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [energy](<https://devfeed.tech/tags/energy.md>), [enhancement](<https://devfeed.tech/tags/enhancement.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [memory](<https://devfeed.tech/tags/memory.md>), [optimizing](<https://devfeed.tech/tags/optimizing.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [similarity-search](<https://devfeed.tech/tags/similarity-search.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [voltage](<https://devfeed.tech/tags/voltage.md>)

### AI overview

RE-CAM extracts quantitative similarity information from content-addressable memory (CAM), whose conventional readout reports only binary matches. It reuses comparators to sample the evolving output voltage multiple times, jointly tuning sensing time, reference voltage, and decoding under system constraints and hardware nonidealities. The technology- and application-agnostic framework approximates linear, piecewise-linear, sigmoid, and exponential functions in one CAM search, with reconfigurable hardware designed alongside the optimization algorithm. Against a shared uniform-reference ADC baseline with the same comparison budget, it lowers normalized error by 10.89-24.34% for general approximation and 29.43-46.73% when using dataset distribution. The abstract also reports 8x higher search throughput, 47% lower energy per search, and 39% lower area than that baseline.

### Source excerpt

arXiv:2611.25326v1 Announce Type: cross Abstract: Similarity search is essential to many applications but incurs massive data movement when executed on conventional architectures. Content-addressable memory (CAM) is a promising hardware substrate, as it allows similarity search directly in the CAM array, minimizing data movement and offering both low latency and high energy efficiency. However, conventional CAM array readout produces only binary match results, discarding quantitative similarity information that could be further exploited. Extracting this information requires interpreting the CAM array output voltage that evolves during a CAM search, making the sensing timestamp a crucial design variable alongside the reference voltage and decoding parameter. In this work, we propose RE-CAM, a readout enhancement framework for CAM that is agnostic to memory technology and application, enabling CAM array readout to approximate linear and nonlinear functions with one CAM search. By reusing the comparators to sense the time-varying output voltage multiple times, jointly optimizing the three design variables under system constraints and hardware nonidealities, and co-designing the optimization algorithm and reconfigurable hardware, RE-CAM achieves accurate approximation with low energy and area overhead without introducing a readout throughput bottleneck. Across linear, piecewise-linear, sigmoid, and exponential functions, RE-CAM reduces normalized root mean square error by 10.89% to 24.34% for general approximation and 29.43% to 46.73% when exploiting dataset distribution, compared to a shared uniform-reference ADC baseline with the same comparison budget. Relative to the same baseline, RE-CAM also achieves $8\times$ higher search throughput while reducing energy per search and area by 47% and 39%, respectively.

## What Is an Embedding? How AI Turns Meaning Into Numbers

DevFeed: [What Is an Embedding? How AI Turns Meaning Into Numbers](<https://devfeed.tech/articles/what-is-an-embedding-how-ai-turns-meaning-into-numbers-141932.md>)

Original publisher: [Read original article](<https://montecarlo.ai/blog-embedding>)

Author: Ruslan Sultanov

Published: 2026-11-18T18:58:12Z

Content type: article

Language: en

Sources: [Monte Carlo](<https://devfeed.tech/sources/monte-carlo.md>)

Topics: [vector embeddings in AI](<https://devfeed.tech/topics/vector-embeddings-in-ai.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [clustering](<https://devfeed.tech/topics/clustering.md>)

Tags: [agent-trust](<https://devfeed.tech/tags/agent-trust.md>), [agent-trust-glossary](<https://devfeed.tech/tags/agent-trust-glossary.md>), [ai](<https://devfeed.tech/tags/ai.md>), [cosine-similarity](<https://devfeed.tech/tags/cosine-similarity.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embedding-model](<https://devfeed.tech/tags/embedding-model.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [embeddings-in-machine-learning](<https://devfeed.tech/tags/embeddings-in-machine-learning.md>), [embeddings-rag](<https://devfeed.tech/tags/embeddings-rag.md>), [glossary](<https://devfeed.tech/tags/glossary.md>), [meaning](<https://devfeed.tech/tags/meaning.md>), [text-embeddings](<https://devfeed.tech/tags/text-embeddings.md>), [vector-database](<https://devfeed.tech/tags/vector-database.md>), [vector-embeddings](<https://devfeed.tech/tags/vector-embeddings.md>), [what-is-an-embedding](<https://devfeed.tech/tags/what-is-an-embedding.md>)

### AI overview

Embeddings represent text, images, or other data as numeric vectors, placing semantically similar items near each other so systems can retrieve by meaning rather than exact wording. In a typical RAG pipeline, documents are split into chunks, embedded and indexed with metadata; a query is embedded to retrieve nearby passages for an LLM. Vectors are meaningful only within the model that produced them, and they become outdated when source content changes. Production reliability therefore depends on versioning vectors, re-embedding changed documents, removing deleted content, monitoring index freshness and evaluating and tracing retrieval. Stale or missing passages can lead an agent to give confident but outdated answers.

### Source excerpt

A customer types "can I send this back?" Your help center never uses that phrase. It talks about the "return window" and the "refund policy." Keyword search finds nothing. Yet a modern AI agent pulls up the right policy in milliseconds, because it isn't matching words. It's matching meaning. That's what embeddings do. This guide ...

## Do Embedding-Map Distances Guide LLM Ideation? Four Tests Against What Came Next

DevFeed: [Do Embedding-Map Distances Guide LLM Ideation? Four Tests Against What Came Next](<https://devfeed.tech/articles/do-embedding-map-distances-guide-llm-ideation-four-tests-against-what-came-next-137694.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.21408>)

Author: Javier Aguilar Mart\\'in

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [generative-ai-tools](<https://devfeed.tech/topics/generative-ai-tools.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2023](<https://devfeed.tech/tags/2023.md>), [22](<https://devfeed.tech/tags/22.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [after](<https://devfeed.tech/tags/after.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [all](<https://devfeed.tech/tags/all.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [based](<https://devfeed.tech/tags/based.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-dl](<https://devfeed.tech/tags/cs-dl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [guide](<https://devfeed.tech/tags/guide.md>), [ideation](<https://devfeed.tech/tags/ideation.md>), [llm](<https://devfeed.tech/tags/llm.md>), [map](<https://devfeed.tech/tags/map.md>), [next](<https://devfeed.tech/tags/next.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Across four tests, embedding-map distance did not reliably guide LLM ideation toward later work. Random far directions poorly matched later items, and a decoder given target-neighbour information reproduced neighbours; neighbour-free search produced coherent text closer to interior gaps than to far points. Density-based gap scores forecast cell growth at or below chance and added no predictive value beyond momentum in Steam and arXiv; patent results were inconclusive, while more isolated new Steam games received slightly better reviews. LLM paper continuations stayed closer to their source than citing papers. Critique lengthened continuations, but feedback-driven turns toward real follow-ups could not be separated from revision or longer outputs. The study detected no inverted-U relationship for distance-graded inspiration material; anticipation tracked format more than content. The supplied text is an abstract/excerpt, not evidence of full-paper coverage.

### Source excerpt

arXiv:2611.21408v1 Announce Type: cross Abstract: A popular ideation recipe treats an embedding map of existing work as a guide: pick points far from everything and decode them into ideas. I test four ways such distances could guide ideation against what appeared later. (1) Far random directions are not text: no later item reaches a raw cosine above about 0.10 with one (after centring or whitening, 22 of 24 cells stay out of reach), and an LLM decoder shown a target's neighbours, with score-only feedback, writes those neighbours in all six target sets. A neighbour-free search writes coherent text at median cosine 0.57 and 0.47 to interior gaps, beating the nearest existing item on 15 and 14 of 20, but only 0.07 and 0.06 to far points. (2) On k-means cells of a past-only map, the registered hole score mostly tracks cell size and position; three density-based gap scores forecast which cells grow fastest at or below chance (AUC 0.30 to 0.66) and add nothing to momentum in Steam and arXiv, with patents inconclusive; more isolated new Steam games are slightly better reviewed. (3) LLM continuations of arXiv papers stay closer to the source than papers that cite it, under three user prompts and against proposal rewrites (gpt-4o) and April-December 2023 papers (OLMo). Critique lengthens this step beyond content-free revision, replicated on 150 new papers. Revealing a real follow-up's title turns the ideas by 0.032 along a follow-up-specific direction beyond revision; reviewer, oracle and distance feedback add 0.13, 0.08 and 0.34 of that turn (upper bounds 0.46, 0.46, 0.70), and their turn is not separable from revision or their longer step. (4) For inspiration material graded by distance, no inverted U was detected, on an anticipation margin that tracks format more than content. Original tests were registered before running, follow-ups (thirteen requested in two AI-agent reviews) after the main results; all are dated only by local git commits.

## Adaptive-Elbow Graph Traversal for Schema Retrieval in Text-to-SQL

DevFeed: [Adaptive-Elbow Graph Traversal for Schema Retrieval in Text-to-SQL](<https://devfeed.tech/articles/adaptive-elbow-graph-traversal-for-schema-retrieval-in-text-to-sql-138306.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.20979>)

Author: Fabio Picariello, Salvatore Cipolla, Susanna Bonura, Vito Morreale

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [text2sql](<https://devfeed.tech/topics/text2sql.md>), [AI for SQL query generation](<https://devfeed.tech/topics/ai-for-sql-query-generation.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Neo4j](<https://devfeed.tech/topics/neo4j.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [database](<https://devfeed.tech/tags/database.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [graph](<https://devfeed.tech/tags/graph.md>), [join](<https://devfeed.tech/tags/join.md>), [llm](<https://devfeed.tech/tags/llm.md>), [precision](<https://devfeed.tech/tags/precision.md>), [question](<https://devfeed.tech/tags/question.md>), [recall](<https://devfeed.tech/tags/recall.md>), [relational-databases](<https://devfeed.tech/tags/relational-databases.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [schema](<https://devfeed.tech/tags/schema.md>), [schemas](<https://devfeed.tech/tags/schemas.md>), [selection](<https://devfeed.tech/tags/selection.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [sql](<https://devfeed.tech/tags/sql.md>), [text](<https://devfeed.tech/tags/text.md>), [traversal](<https://devfeed.tech/tags/traversal.md>)

### AI overview

AEGT (ElbowHop) retrieves database tables for text-to-SQL using an adaptive elbow cutoff and bidirectional foreign-key traversal. The cutoff selects a per-question schema size instead of a fixed top-k, while traversal can recover join-critical bridge tables that embedding similarity misses. Across BIRD Mini-Dev per-database pools (3-13 tables), its 11 schemas merged (74 tables), and a merged Spider-train graph (546 tables), the adaptive cutoff was the dominant mechanism: at matched recall it roughly doubled precision over a fixed budget on larger pools, with the advantage growing as pools expanded. Foreign-key traversal helped recover bridge tables in the single-hop, tight-budget case. The authors present the approach as a low-cost, recall-robust first retrieval stage for downstream selection or generation.

### Source excerpt

arXiv:2611.20979v1 Announce Type: new Abstract: LLM-based natural-language interfaces to relational databases are gated by a schema-retrieval step: the generator can only be as good as the slice of schema it is shown. On a database with hundreds of tables, that slice must be selected and the selection is two-sided---omit a needed table and the query becomes unrecoverable, include too many and the irrelevant ones act as noise that degrades the model's output. When an agentic retriever that lets the model inspect the schema can be too costly or too slow, the fallback is an embedder that ranks tables by cosine similarity and keeps a top-k. This fallback has two weaknesses: a fixed budget is suboptimal question by question, and embedding similarity overlooks foreign-key-linked tables that are necessary for joins. We present Adaptive-Elbow Graph Traversal (AEGT, ElbowHop for short), a property-graph table retriever that addresses both: an adaptive elbow cutoff replaces the fixed budget with a per-question one under a single aggressiveness parameter, and bidirectional foreign-key traversal deterministically recovers the bridge tables embedding similarity misses. We evaluate the retriever on 3 corpora of increasing candidate-pool size (BIRD Mini-Dev queried per database, 3--13 tables; its eleven schemas merged, 74; and a merged Spider-train graph, 546) and isolate the two mechanisms under a per-question budget-matched protocol. Across these settings the adaptive elbow emerges as the dominant mechanism---at matched recall it roughly doubles precision over a fixed budget on the larger pools, the margin widening as the pool grows---while the foreign-key traversal pays off on the join-critical bridge tables dense retrieval cannot reach, in the single-hop tight-budget case. We characterize the method as a low-cost, recall-robust first stage for schema retrieval on which a downstream selection or generation step can build.

## CapCover Filter: Semantic Approximate Membership Queries over Embeddings

DevFeed: [CapCover Filter: Semantic Approximate Membership Queries over Embeddings](<https://devfeed.tech/articles/capcover-filter-semantic-approximate-membership-queries-over-embeddings-137541.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.20132>)

Author: Dvir David Biton, Shay Hahiashvili, Nadav Keren, Gil Einziger, Roy Friedman

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [ann](<https://devfeed.tech/topics/ann.md>), [clustering](<https://devfeed.tech/topics/clustering.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [can](<https://devfeed.tech/tags/can.md>), [compare](<https://devfeed.tech/tags/compare.md>), [construction](<https://devfeed.tech/tags/construction.md>), [cosine](<https://devfeed.tech/tags/cosine.md>), [cosine-similarity](<https://devfeed.tech/tags/cosine-similarity.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [data](<https://devfeed.tech/tags/data.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [faiss](<https://devfeed.tech/tags/faiss.md>), [filter](<https://devfeed.tech/tags/filter.md>), [over](<https://devfeed.tech/tags/over.md>), [queries](<https://devfeed.tech/tags/queries.md>), [semantic](<https://devfeed.tech/tags/semantic.md>)

### AI overview

CapCover Filter uses spherical caps to summarize embeddings and reject queries when no indexed vector meets a requested similarity threshold, while guaranteeing no false negatives. Its threshold-independent representation supports arbitrary thresholds without reconstruction. Across five datasets at cosine similarity 0.95, it eliminated about 20-100% of index accesses using 2% of raw FP32 embedding memory. Ahead of a FAISS flat index, it increased throughput by up to 382% and about 116% on average while returning the same range-search result. The reported gains are strongest when thresholds are tight, retrieval is expensive, and embeddings are highly clustered; the abstract also says lower thresholds were evaluated but gives no results for them.

### Source excerpt

arXiv:2611.20132v1 Announce Type: cross Abstract: Determining whether an embedding is sufficiently similar to any vector in a vector store without performing a nearest-neighbor search can substantially improve query throughput in vector-store systems. We study Semantic Approximate Membership Queries (SAMQs), which allow queries to be rejected when no indexed vector meets the requested similarity threshold, while guaranteeing no false negatives. We introduce CapCover Filter, a geometric data structure that summarizes a set of embeddings using spherical caps. Its representation is independent of the query threshold, allowing a single filter to support arbitrary thresholds without reconstruction. We evaluate alternative construction and quantization methods, compare CapCover Filter with competing filters, and measure its impact on query throughput. Across five real-world datasets, at a cosine similarity threshold of 0.95, CapCover Filter eliminates approximately 20--100\% of index accesses while using only 2\% of the raw (FP32) embedding memory. When placed before a FAISS flat index, it improves query throughput by up to 382\% and by approximately 116\% on average across the five datasets, while returning the same range-search result. We also evaluate lower similarity thresholds. Our results show that CapCover Filter can substantially improve vector-store throughput when similarity thresholds are tight, retrieval is expensive, and indexed embeddings are highly clustered. We release an optimized implementation of CapCover Filter and its evaluation framework.

## What Does a Cosine of 0.8 Mean? Monotone Calibration of Embedding Similarity

DevFeed: [What Does a Cosine of 0.8 Mean? Monotone Calibration of Embedding Similarity](<https://devfeed.tech/articles/what-does-a-cosine-of-0-8-mean-monotone-calibration-of-embedding-similarity-138733.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2601.16907>)

Author: Nicolas Tacheny

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [cosine](<https://devfeed.tech/tags/cosine.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [deduplication](<https://devfeed.tech/tags/deduplication.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embedding-models](<https://devfeed.tech/tags/embedding-models.md>), [pairs](<https://devfeed.tech/tags/pairs.md>), [people](<https://devfeed.tech/tags/people.md>), [quality](<https://devfeed.tech/tags/quality.md>), [rating](<https://devfeed.tech/tags/rating.md>), [scale](<https://devfeed.tech/tags/scale.md>), [score](<https://devfeed.tech/tags/score.md>), [search](<https://devfeed.tech/tags/search.md>), [semantic-caching](<https://devfeed.tech/tags/semantic-caching.md>), [similarity](<https://devfeed.tech/tags/similarity.md>)

### AI overview

Embedding cosine scores can mean different things across models, so a shared threshold may select pairs of very different quality. The paper proposes fitting an increasing calibration function to human-rated sentence pairs, preserving their cosine ordering while mapping scores to the rating scale. It compares three function forms, from an S-shaped curve to a free step function, across six models. On new pairs, calibrated scores reportedly align with human ratings and make models comparable under a shared threshold. The calibrated scale depends on the ratings used to fit it: scores shift between two differently rated datasets even as model comparability remains.

### Source excerpt

arXiv:2601.16907v2 Announce Type: replace Abstract: Text embedding models turn sentences into vectors, and the cosine between two vectors is the usual measure of their similarity. Search, semantic caching and deduplication often accept a pair when this cosine reaches a fixed threshold. When people judge one pair of sentences more similar than another, the cosine usually agrees, but its value means different things for different models, because each model packs its scores into its own narrow range. The same threshold can therefore keep most pairs with one model and few with another. We propose to calibrate the score instead of changing the model. An increasing function fitted on sentence pairs rated by people translates the cosine of each model into the human rating scale and never reverses the order of two pairs. We fit three such functions for six models, ranging from a simple S-shaped curve to a free step function. On new pairs, calibrated scores agree with human ratings and the models agree with one another. One threshold selects pairs of similar quality whatever the model. The scale obtained belongs to the human ratings used to fit it, so its values shift on two datasets rated differently while the models stay comparable.

## GAAMA: Graph Augmented Associative Memory for Agents

DevFeed: [GAAMA: Graph Augmented Associative Memory for Agents](<https://devfeed.tech/articles/gaama-graph-augmented-associative-memory-for-agents-137243.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.27910>)

Author: Swarna Kamal Paul, Shubhendu Sharma, Nitin Sareen

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Graphs](<https://devfeed.tech/topics/graphs.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [cs-ma](<https://devfeed.tech/tags/cs-ma.md>), [graph](<https://devfeed.tech/tags/graph.md>), [knowledge-graphs](<https://devfeed.tech/tags/knowledge-graphs.md>), [llm](<https://devfeed.tech/tags/llm.md>), [memory](<https://devfeed.tech/tags/memory.md>), [nearest-neighbor](<https://devfeed.tech/tags/nearest-neighbor.md>), [offline](<https://devfeed.tech/tags/offline.md>), [rag](<https://devfeed.tech/tags/rag.md>), [react](<https://devfeed.tech/tags/react.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [similarity-search](<https://devfeed.tech/tags/similarity-search.md>)

### AI overview

GAAMA organizes conversational memory around topics to preserve context and avoid speaker hubs that can make graph propagation uninformative. It stores verbatim episodes, uses an LLM to derive atomic facts and topic concepts, and synthesizes higher-order reflections; four node types are joined by five structural edge types. Retrieval combines nearest-neighbor similarity with edge-type-dependent Personalized PageRank. Its offline GRAFT step uses a bounded ReAct agent to search again when retrieved evidence falls short, then stores a grounded answer as a fact for later queries without added query-time cost. The abstract reports the best average among compared methods on LoCoMo10 (79.1%) and the best average across three MemoryArena datasets; GRAFT adds a small gain. Replacing concept-linked facts with entity-relation triples lowered reward by 3.0 percentage points in a controlled comparison.

### Source excerpt

arXiv:2603.27910v3 Announce Type: replace Abstract: AI agents that talk with users across many sessions need long-term memory to stay coherent and personalized. Existing approaches use either flat retrieval-augmented generation (RAG) that ignores how memories connect, or entity-centric knowledge graphs. Entity-centric graphs split each message into separate triples, which loses its context, and in conversations the speakers become hubs linked to almost every message, so propagation through them tells retrieval little. We present GAAMA, a graph-augmented associative memory that organizes conversations around topics. It keeps verbatim episodes, uses an LLM to distill them into atomic facts and topic concepts, and then synthesizes higher-order reflections. These four node types are linked by five kinds of structural edges, and topic concepts supply the cross-cutting paths, so mega-hubs do not form. Retrieval blends nearest-neighbor similarity search with Personalized PageRank whose transitions depend on edge type. We also introduce GRAFT (Graph Repair by Augmenting Facts & Topology), an offline repair step: for questions whose retrieved evidence fell short, a bounded ReAct agent searches memory again and records the grounded answer as a fresh fact, so later questions find it directly without extra query-time cost. On LoCoMo10, GAAMA achieves the highest average score of all compared methods (79.1%) and is competitive in every question category; GRAFT adds a small further gain. In a controlled comparison, replacing GAAMA's concept-linked facts with entityrelation triples lowers reward by 3.0 pp. On MemoryArena, GAAMA also has the best average across the three datasets.

## TReC: Evaluating Move-Induced State Changes in Instruction-Conditioned Go

DevFeed: [TReC: Evaluating Move-Induced State Changes in Instruction-Conditioned Go](<https://devfeed.tech/articles/trec-evaluating-move-induced-state-changes-in-instruction-conditioned-go-135112.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.17781>)

Author: Zhuangsheng Li, Yunhan Zhang, Dailin Li, Qingxian Yu, Yu Wu, Youqi Song, Bangyuan He

Published: 2026-11-16T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [ai alignment](<https://devfeed.tech/topics/ai-alignment.md>), [ai-experiments](<https://devfeed.tech/topics/ai-experiments.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [correlation](<https://devfeed.tech/tags/correlation.md>), [cosine](<https://devfeed.tech/tags/cosine.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [game](<https://devfeed.tech/tags/game.md>), [go](<https://devfeed.tech/tags/go.md>), [layer](<https://devfeed.tech/tags/layer.md>), [median](<https://devfeed.tech/tags/median.md>), [model](<https://devfeed.tech/tags/model.md>), [network](<https://devfeed.tech/tags/network.md>), [position](<https://devfeed.tech/tags/position.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [reference](<https://devfeed.tech/tags/reference.md>), [rules](<https://devfeed.tech/tags/rules.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [state](<https://devfeed.tech/tags/state.md>)

### AI overview

Transition Representation Consistency (TReC) compares two Go moves by executing both from the same position under game rules, measuring the cosine similarity between the resulting changes in board-state embeddings. In experiments using a frozen KataGo network on 680 mid-to-late-game positions from five games, TReC produced larger within-position gaps between the highest and lowest candidate scores (median 0.88-1.33) than direct successor-state cosine (0.01-0.08), depending on evaluator layer. Its relationship to candidate distance from the expert move was weak: median within-position rank correlation was -0.19. These findings describe the reported experiment, not broader validation.

### Source excerpt

arXiv:2611.17781v1 Announce Type: new Abstract: When a Go model predicts a move different from the expert's, coordinate distance measures how far the prediction lands from the reference. We introduce Transition Representation Consistency (TReC) to compare how the two moves change a board-state embedding. Both moves are executed from the same position under the game rules, and TReC is the cosine similarity between the two resulting representation changes. In experiments with a frozen KataGo network on 680 mid-to-late-game positions from five games, the gap between the highest and lowest candidate per position has a median of 0.01 to 0.08 for the direct successor-state cosine and 0.88 to 1.33 for TReC, depending on the evaluator layer. TReC follows coordinate distance only weakly: the rank correlation between a candidate's distance to the reference and its TReC, computed within each position, has a median of -0.19 over these positions.

## LoRAWeaver: Directional Adapter Routing in LoRA Representation Space

DevFeed: [LoRAWeaver: Directional Adapter Routing in LoRA Representation Space](<https://devfeed.tech/articles/loraweaver-directional-adapter-routing-in-lora-representation-space-135056.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.17340>)

Author: Inish Melroy D Souza, Tom Jackson, Vitor Castro, Rebecca Higginson, Andrea Soltoggio

Published: 2026-11-16T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [lora](<https://devfeed.tech/topics/lora.md>), [peft](<https://devfeed.tech/topics/peft.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>)

Tags: [adapter](<https://devfeed.tech/tags/adapter.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cosine-similarity](<https://devfeed.tech/tags/cosine-similarity.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [inference](<https://devfeed.tech/tags/inference.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [lora](<https://devfeed.tech/tags/lora.md>), [prototypes](<https://devfeed.tech/tags/prototypes.md>), [routing](<https://devfeed.tech/tags/routing.md>)

### AI overview

LoRAWeaver routes queries to task-specific LoRA adapters without training a router. It represents each query conditioned on candidate adapters, then selects the adapter whose task prototype has the highest cosine similarity. The approach targets dynamic adapter pools, where existing routing and encoder methods may need retraining as adapters are added. On LLaMA-2-7B and LLaMA-2-13B, evaluations across 48 FLAN-v2 tasks and out-of-distribution tasks report better cross-task performance than training-free baselines and results approaching a trained retrieval encoder. An ablation supports the value of directional alignment in adapter-output space.

### Source excerpt

arXiv:2611.17340v1 Announce Type: new Abstract: Large language models are expensive to update through full retraining. Parameter-efficient fine-tuning reduces the cost of adaptation, but repeated adaptation creates a growing pool of task-specific LoRA adapters. This pool complicates adapter selection during inference. Existing routing and encoder-based methods often require retraining when new adapters are added, which limits their use in dynamic settings. This paper treats adapter routing as a representation alignment problem in the adapter-output space. The proposed training-free method selects adapters by matching adapter-conditioned query representations against task prototypes using cosine similarity. Experiments with LLaMA-2-7B and LLaMA-2-13B on a 48-task FLAN-v2 benchmark and on out-of-distribution tasks show that the method outperforms training-free baselines in the cross-task setting and approaches a trained retrieval encoder without learning a router. An ablation confirms the benefit of directional alignment in the adapter-output space.

## QuIVer: Efficient Graph Indexing with Two-Bit Construction and Navigation

DevFeed: [QuIVer: Efficient Graph Indexing with Two-Bit Construction and Navigation](<https://devfeed.tech/articles/quiver-efficient-graph-indexing-with-two-bit-construction-and-navigation-132670.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.02171>)

Author: Wenxuan Xiao, Peidong Zhu, Chengcheng Li, Xu Cao

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Qdrant](<https://devfeed.tech/topics/qdrant.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [cohere](<https://devfeed.tech/tags/cohere.md>), [construction](<https://devfeed.tech/tags/construction.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [graph](<https://devfeed.tech/tags/graph.md>), [hamming](<https://devfeed.tech/tags/hamming.md>), [image](<https://devfeed.tech/tags/image.md>), [indexing](<https://devfeed.tech/tags/indexing.md>), [int8](<https://devfeed.tech/tags/int8.md>), [limits](<https://devfeed.tech/tags/limits.md>), [lucene](<https://devfeed.tech/tags/lucene.md>), [magnitude](<https://devfeed.tech/tags/magnitude.md>), [memory](<https://devfeed.tech/tags/memory.md>), [modal](<https://devfeed.tech/tags/modal.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [pruning](<https://devfeed.tech/tags/pruning.md>), [queries](<https://devfeed.tech/tags/queries.md>)

### AI overview

QuIVer uses a training-free sign-magnitude representation to build and navigate graph indexes with two-bit comparisons, keeping original vectors for bounded final reranking. Construction finds candidates with Hamming scores, orders them with an integer proxy, and defers reverse-edge pruning across parallel insertions. Search ranks the frontier and retained candidates using reconstruction norms and bitwise inner products, without query calibration or an exact anchor. Across 21 datasets, its validation-selected 95% configurations lie on measured recall, throughput, preparation-time, and memory Pareto frontiers. On Cohere-5M, it achieves 95.90% Recall@10 at 3,075 single-thread queries/s; the abstract reports 11.74x Lucene BBQ's throughput at 95.83% recall. Compared with SymphonyQG at 95.87% recall, QuIVer retains 81% of single-thread and 97% of 32-thread throughput while reducing preparation time 54%, total logical memory 47%, and navigation storage 87%. An SSD mode with INT8 reranking uses about 5 GiB steady-state RSS. High recall holds for most text and image embeddings, while non-negative descriptors, cross-modal queries, and random data reveal limitations.

### Source excerpt

arXiv:2605.02171v4 Announce Type: replace Abstract: High-dimensional vector indices must balance construction time, memory, and query throughput. Two-bit comparisons reduce computation and storage, but preserving useful graph connections and search candidates requires scores suited to each stage. We present QuIVer, a graph index that uses a training-free sign-magnitude representation for construction and navigation while reserving original vectors for bounded final reranking. Construction discovers candidates with Hamming scores, orders them with an integer proxy, and defers reverse-edge pruning across parallel insertions. Search uses reconstruction norms and bitwise inner products to order both the frontier and retained candidates, without query calibration or an exact anchor. Experiments cover 21 datasets and compare 30 external baseline modes on three core workloads. QuIVer's validation-selected 95% configurations lie on the measured Pareto frontiers of achieved recall, throughput, index preparation time, and memory, whether memory counts navigation state alone or also the original vectors. On Cohere-5M, QuIVer reaches 95.90% Recall@10 at 3,075 single-thread queries/s, $11.74\times$ the throughput of Lucene BBQ with FP32 reranking at 95.83% recall. Against SymphonyQG at 95.87%, it retains 81% of single-thread and 97% of 32-thread throughput while reducing index preparation time by 54%, total logical memory by 47%, and navigation storage by 87%. An SSD mode with INT8 reranking serves Cohere-5M at about 5 GiB of steady-state process RSS. Controlled crossovers and candidate-coverage diagnostics connect these results to construction and retention quality. Across 21 datasets, high recall holds for most text and image embeddings, while non-negative descriptors, cross-modal queries, and random data expose the limits of the representation.

## How Vector Search Works Inside TiDB for AI Applications

DevFeed: [How Vector Search Works Inside TiDB for AI Applications](<https://devfeed.tech/articles/how-vector-search-works-inside-tidb-for-ai-applications-128968.md>)

Original publisher: [Read original article](<https://www.pingcap.com/blog/integrating-vector-search-into-tidb-for-ai-applications/>)

Author: Xin Shi

Published: 2026-11-10T18:43:16Z

Content type: article

Language: en

Sources: [TiDB](<https://devfeed.tech/sources/tidb.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [ann](<https://devfeed.tech/topics/ann.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-applications](<https://devfeed.tech/tags/ai-applications.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [article](<https://devfeed.tech/tags/article.md>), [can](<https://devfeed.tech/tags/can.md>), [context](<https://devfeed.tech/tags/context.md>), [customer](<https://devfeed.tech/tags/customer.md>), [database](<https://devfeed.tech/tags/database.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [first](<https://devfeed.tech/tags/first.md>), [form](<https://devfeed.tech/tags/form.md>), [inside](<https://devfeed.tech/tags/inside.md>), [job](<https://devfeed.tech/tags/job.md>), [keep](<https://devfeed.tech/tags/keep.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [product](<https://devfeed.tech/tags/product.md>), [search](<https://devfeed.tech/tags/search.md>), [tidb](<https://devfeed.tech/tags/tidb.md>), [tidb-serverless](<https://devfeed.tech/tags/tidb-serverless.md>), [vector](<https://devfeed.tech/tags/vector.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [works](<https://devfeed.tech/tags/works.md>)

### AI overview

TiDB stores embeddings with transactional data: TiKV commits writes, then TiFlash replicates them and serves HNSW vector search. This lets RAG retrieval join vectors with permissions, tenants, and document versions in one SQL query, and makes committed rows searchable without a separate sync pipeline. New or updated rows in TiFlash's Delta layer remain searchable but run more slowly until compaction moves them into the indexed Stable layer. The article reports HNSW recall generally above 90% and notes that a 500 MiB dataset of 768-dimensional vectors may take up to 20 minutes to index. Vector search requires TiFlash; pre-KNN WHERE filters bypass the index, so the suggested subquery pattern can return fewer than K rows. Availability varies by deployment: TiDB Cloud documentation labels the feature beta, while Self-Managed documentation calls it experimental and not recommended for production.

### Source excerpt

Key Takeaways When a RAG application keeps embeddings in a separate vector store, an edited support article can keep surfacing in its old form until the next sync job runs. The model then answers from stale context, and nobody notices until a customer does. Knowing how vector search works inside your database tells you how [...] The post How Vector Search Works Inside TiDB for AI Applications appeared first on TiDB.

## CRUSTPairs: A Cross-Language Dataset of Paired C and Rust Solutions

DevFeed: [CRUSTPairs: A Cross-Language Dataset of Paired C and Rust Solutions](<https://devfeed.tech/articles/crustpairs-a-cross-language-dataset-of-paired-c-and-rust-solutions-125437.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11711>)

Author: Vojtech Hejlek, Leonardo Jesus Almeida, Alneu de Andrade Lopes

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [dpo](<https://devfeed.tech/topics/dpo.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-to-rust](<https://devfeed.tech/tags/c-to-rust.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [migration](<https://devfeed.tech/tags/migration.md>), [model](<https://devfeed.tech/tags/model.md>), [mrr](<https://devfeed.tech/tags/mrr.md>), [pairs](<https://devfeed.tech/tags/pairs.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [rust](<https://devfeed.tech/tags/rust.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [tf](<https://devfeed.tech/tags/tf.md>)

### AI overview

CRUSTPairs provides 1,857 paired C and Rust solutions to shared programming problems, drawn from competitive programming archives and normalized, deduplicated, tiered by zero-shot embedding similarity, and accompanied by provenance and licensing. In cross-language retrieval, TF-IDF over shared identifiers achieves MRR 0.21, slightly above a pretrained code model's 0.19; that model performs at 1.7 times chance on the hardest quarter. Fine-tuning reaches 0.79 overall and improves hardest-quarter performance to 10 times chance. When user identifiers are renamed, fine-tuned models retain 96-97% of their accuracy, compared with 66% for the pretrained model. On structurally divergent pairs, fine-tuned models do better without identifiers than with them.

### Source excerpt

arXiv:2611.11711v1 Announce Type: cross Abstract: C-to-Rust migration is an active agenda, but no dataset pairs the two languages at the level of whole solutions to a shared problem. We present CRUSTPairs, 1857 C/Rust implementation pairs drawn from competitive programming archives, normalised, deduplicated, and stratified into difficulty tiers by zero-shot cross-language embedding similarity, with perrecord provenance and licensing. Cross-language retrieval is hard on this data, and harder than a single baseline would suggest: TF-IDF over shared identifiers reaches MRR 0.21 and so beats a pretrained code model at 0.19, which on the hardest quarter of the data scores 1.7x chance. Finetuning reaches 0.79, and lifts that hardest quarter 10x. Renaming every user identifier settles what is being learned: the finetuned models keep 96-97% of their accuracy without them, while the pretrained model keeps 66\% - less than the lexical baseline does - and on structurally divergent pairs the finetuned models are better without identifiers than with them.

## ArcadeDB in Python: An In-Process Multi-Model Database

DevFeed: [ArcadeDB in Python: An In-Process Multi-Model Database](<https://devfeed.tech/articles/arcadedb-in-python-an-in-process-multi-model-database-121009.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.07971>)

Author: Taewoon Kim

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [graph-database](<https://devfeed.tech/topics/graph-database.md>), [Python](<https://devfeed.tech/topics/python.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [DuckDB](<https://devfeed.tech/topics/duckdb.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [pandas](<https://devfeed.tech/topics/pandas.md>), [apache-arrow](<https://devfeed.tech/topics/apache-arrow.md>), [pip](<https://devfeed.tech/topics/pip.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [database](<https://devfeed.tech/tags/database.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [graph](<https://devfeed.tech/tags/graph.md>), [python](<https://devfeed.tech/tags/python.md>), [sql](<https://devfeed.tech/tags/sql.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

The paper presents arcadedb-embedded, a Python package that runs ArcadeDB's document, graph, and vector database engine inside the Python process through JPype. Its wheel bundles a Java Runtime Environment, so installation needs no separate Java setup. Query results can be returned as Python lists, NumPy arrays, pandas DataFrames, or Arrow tables. A demonstrated workflow combines vector search, SQL filtering, and graph traversal over one dataset, avoiding data transfers between separate systems. The authors benchmark the package against SQLite, DuckDB, LadybugDB, and Chroma and report its costs; the supplied abstract does not provide benchmark results.

### Source excerpt

arXiv:2611.07971v1 Announce Type: new Abstract: Some Python workflows need transactional reads and writes over documents, traversals over a graph, and similarity search over vector embeddings. In practice these are split across separate systems (a document store, a graph engine, and a vector index), and the data is copied between them and kept consistent by application code. ArcadeDB is an open-source multi-model database engine, written in Java, that supports all three access patterns and can be embedded in a host process. We present arcadedb-embedded, a Python package that runs ArcadeDB inside the Python process via JPype, using a Java Runtime Environment bundled in the wheel. One pip install gives a database with documents, a property graph, and vector search, and needs no Java installation. Query results can be returned as Python lists, NumPy arrays, pandas DataFrames, or Arrow tables. We demonstrate a hybrid retrieval workflow that chains vector search, SQL filtering, and graph traversal over one dataset. We benchmark arcadedb-embedded against SQLite, DuckDB, LadybugDB, and Chroma, and report its costs.

## Discarded or Unreachable? Diagnosing and Repairing Spatial Relation Failure in Vision--Language Similarity

DevFeed: [Discarded or Unreachable? Diagnosing and Repairing Spatial Relation Failure in Vision--Language Similarity](<https://devfeed.tech/articles/discarded-or-unreachable-diagnosing-and-repairing-spatial-relation-failure-in-vision-language-similarity-118343.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05565>)

Author: Mahdi Mostajabdaveh, Zirui Zhou

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [failure](<https://devfeed.tech/tags/failure.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [spatial](<https://devfeed.tech/tags/spatial.md>), [vision](<https://devfeed.tech/tags/vision.md>), [vision-language-models](<https://devfeed.tech/tags/vision-language-models.md>)

### AI overview

Across ten vision-language encoders, left/right relations can fail because they are inaccessible to native similarity scoring or because pooling discards their polarity; patch-grid features retain the information in both cases. A zero-parameter, query-conditioned spatial moment reads geometry from that grid and stores it alongside the native embedding. On a 118,287-image index, it raises pairwise accuracy against reversed-geometry negatives from 0.51-0.53 to 0.81-0.96 and conditional R@1 among 21 category-matched candidates from 0.05 to 0.37-0.75, with under a millisecond per batched query. Queries that specify no spatial relation retain the native ranking exactly. The reported results distinguish failures on clean two-object photos from controlled C4 orbits; the excerpt does not establish performance beyond these evaluations.

### Source excerpt

arXiv:2611.05565v1 Announce Type: cross Abstract: Contrastive vision-language models score left/right relations near chance, but the symptom has two causes that call for opposite repairs: the relation may survive in the pooled embedding yet be unreachable by native image-text similarity, or pooling may discard it while the dense features retain it. On clean two object photographs, across ten encoders, the lateral polarity is linearly decodable from the flip odd component of the pooled vector at 0.77-0.99, yet a search over a million captions leaves nine of the ten at chance under native scoring: an access failure. On controlled C4 orbits, where the relation is the only thing that varies, pooling keeps the arrangement axis at 0.998-1.000 and loses its polarity, which the patch grid retains: a pooling failure. Both sit downstream of the dense features, so one readout covers both. Our zero parameter, query conditioned spatial moment recomputes the geometry from the patch grid and stores it as a vector beside the native embedding. On a 118,287 image index it raises left/right pairwise accuracy against reversed geometry negatives from 0.51-0.53 to 0.81-0.96 and conditional R@1 among 21 category matched candidates from 0.05 to 0.37-0.75, at under a millisecond per batched query, while reproducing the native ranking exactly for queries that name no relation.

## Why Semantic Similarity Can Give AI the Exact Opposite Answer

DevFeed: [Why Semantic Similarity Can Give AI the Exact Opposite Answer](<https://devfeed.tech/articles/why-semantic-similarity-can-give-ai-the-exact-opposite-answer-116249.md>)

Original publisher: [Read original article](<https://hackernoon.com/why-semantic-similarity-can-give-ai-the-exact-opposite-answer?source=rss>)

Author: JasonL

Published: 2026-11-04T07:56:06Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [bm25](<https://devfeed.tech/tags/bm25.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cosine](<https://devfeed.tech/tags/cosine.md>), [cosine-similarity](<https://devfeed.tech/tags/cosine-similarity.md>), [cross-encoder](<https://devfeed.tech/tags/cross-encoder.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [llm](<https://devfeed.tech/tags/llm.md>), [models](<https://devfeed.tech/tags/models.md>), [negation-blindness](<https://devfeed.tech/tags/negation-blindness.md>), [question](<https://devfeed.tech/tags/question.md>), [rag](<https://devfeed.tech/tags/rag.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [semantic-search](<https://devfeed.tech/tags/semantic-search.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [vector-database](<https://devfeed.tech/tags/vector-database.md>)

### AI overview

Across six locally run open embedding models, opposite questions often scored closer than genuine rewordings, making similarity thresholds unreliable for semantic-cache decisions. In a 40-item test, a 0.90 cutoff caused one model to return cached answers for 97.5% of opposite questions but only 7.5% of rewordings. Retrieval results varied by model; BM25 rank fusion worsened five of six, and removing "no" and "not" via an English stop list reduced BM25 to chance. Re-ranking each model's top ten with cross-encoders raised negated-question accuracy to at least 97.5% in this small 80-chunk test. The article recommends testing question triples on the target model, checking stop-word settings, and using a cross-encoder or claim check before cache hits or fact merges. Results are limited to 40 invented English facts, a small index where both rival chunks reached the reranker, and open models; hosted APIs were not tested.

### Source excerpt

Six embedding models rate a question and its opposite as closer than the same question reworded. What that breaks in caches and retrieval, and what fixes it.

## HyVox: Rethinking Low-Power Voice Intelligence towards Neuromorphic-von Neumann Edge Computing

DevFeed: [HyVox: Rethinking Low-Power Voice Intelligence towards Neuromorphic-von Neumann Edge Computing](<https://devfeed.tech/articles/hyvox-rethinking-low-power-voice-intelligence-towards-neuromorphic-von-neumann-edge-computing-116838.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03735>)

Author: Snehasis Addy, Eduardo Calle Ortiz, Prashant Shenoy, Phuc Nguyen

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [tinyml](<https://devfeed.tech/topics/tinyml.md>), [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [quantization](<https://devfeed.tech/topics/quantization.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [abstraction](<https://devfeed.tech/tags/abstraction.md>), [ann](<https://devfeed.tech/tags/ann.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [cast](<https://devfeed.tech/tags/cast.md>), [chip](<https://devfeed.tech/tags/chip.md>), [compress](<https://devfeed.tech/tags/compress.md>), [computing](<https://devfeed.tech/tags/computing.md>), [cosine](<https://devfeed.tech/tags/cosine.md>), [cosine-similarity](<https://devfeed.tech/tags/cosine-similarity.md>), [counts](<https://devfeed.tech/tags/counts.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-ne](<https://devfeed.tech/tags/cs-ne.md>), [cs-sd](<https://devfeed.tech/tags/cs-sd.md>), [edge](<https://devfeed.tech/tags/edge.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [intelligence](<https://devfeed.tech/tags/intelligence.md>), [low-power](<https://devfeed.tech/tags/low-power.md>), [neuromorphic](<https://devfeed.tech/tags/neuromorphic.md>), [power](<https://devfeed.tech/tags/power.md>), [voice](<https://devfeed.tech/tags/voice.md>)

### AI overview

HyVox divides open-set speaker identification between a neuromorphic processor that creates speaker embeddings and a microcontroller that stores the speaker gallery, scores embeddings by cosine similarity, rejects unknown speakers, and enrolls users by adding prototypes without updating network weights. Its 832-neuron temporal SNN backbone feeds a 32-neuron spiking embedding extractor. To meet chip constraints, the backbone is compressed 6.5x to 29,000 synapses and trained for integer dynamics; chip-accurate spiking training uses a differentiable replica of the chip's integer updates and doubles mapped-backbone top-1 accuracy on unseen speakers. Across 20 Common Voice households, reported top-1 accuracy is 99.6% with two household members and 94.9% with 20; rejection EER is 5.5% and 13.2%, respectively. A 3-second input takes 0.96 seconds and 1.63 mJ dynamic energy. The authors report 42% lower latency than the fastest embedded ANN baseline and 13.5x lower dynamic and 5.8x lower total energy than the most energy-efficient baseline.

### Source excerpt

arXiv:2611.03735v1 Announce Type: cross Abstract: We present HyVox, a hybrid neuromorphic--von Neumann system for low-energy open-set speaker identification under tight energy budgets. HyVox splits the workload at the speaker embedding. A neuromorphic processor embeds the speech with sparse, event-driven computation, and a von Neumann microcontroller holds the speaker gallery and makes every decision: it scores queries by cosine similarity, rejects unknown speakers, and enrolls new users by writing a prototype, with no weight update. On the neuromorphic processor, a hierarchical temporal abstraction (HTA) SNN backbone learns a synaptic time constant per leaky integrate-and-fire (LIF) neuron, allocating 832 neurons across fast, medium, and slow timescales. A 32-neuron spiking embedding extractor (SEE), pretrained on episodes that each enroll new speakers and reject outsiders, turns the backbone output into an embedding for speakers unseen in training; its 32 spike counts are the only interface between the two processors. To fit the chip's synapse and integer budgets, we compress the backbone 6.5x to 29.0k synapses, train it for integer bit-shift dynamics, and fine-tune it with chip-accurate spiking training (CAST). CAST trains through a differentiable replica of the chip's integer neuron update, derived from its cycle-accurate simulator, so that gradient descent optimizes the exact weights and thresholds the chip runs; it doubles the top-1 accuracy of the mapped backbone on unseen speakers. On 20 Common Voice households of unseen speakers, HyVox reaches 99.6\% top-1 and 5.5\% rejection EER with 2 members and 94.9\% and 13.2\% with 20, and the network deployed on the neuromorphic chip matches its trained model. Each inference on a 3-s window takes 0.96 s and 1.63 mJ of dynamic energy, 42\% lower latency than the fastest embedded ANN baseline and 13.5x less dynamic and 5.8x less total energy than the most energy-efficient one.

## Learn Vector Databases for Beginners - Embeddings, Similarity Search & ChromaDB

DevFeed: [Learn Vector Databases for Beginners - Embeddings, Similarity Search & ChromaDB](<https://devfeed.tech/articles/learn-vector-databases-for-beginners-embeddings-similarity-search-chromadb-116223.md>)

Original publisher: [Read original article](<https://www.freecodecamp.org/news/learn-vector-databases-for-beginners-embeddings-similarity-search-chromadb/>)

Author: Beau Carnes

Published: 2026-11-03T16:07:38Z

Content type: release

Language: en

Sources: [Free Code Camp](<https://devfeed.tech/sources/freecodecamp-programming-tutorials-python-javascript-git-more.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [ann](<https://devfeed.tech/topics/ann.md>), [Vectors & LLMs](<https://devfeed.tech/topics/vectors-llms.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-engineer](<https://devfeed.tech/tags/ai-engineer.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [apps](<https://devfeed.tech/tags/apps.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [learn](<https://devfeed.tech/tags/learn.md>), [meaning](<https://devfeed.tech/tags/meaning.md>), [rag](<https://devfeed.tech/tags/rag.md>), [recommendation-systems](<https://devfeed.tech/tags/recommendation-systems.md>), [search](<https://devfeed.tech/tags/search.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [similarity-search](<https://devfeed.tech/tags/similarity-search.md>), [vector](<https://devfeed.tech/tags/vector.md>), [vector-database](<https://devfeed.tech/tags/vector-database.md>), [vector-databases](<https://devfeed.tech/tags/vector-databases.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

The course moves from vector and similarity concepts to a working semantic search project with ChromaDB. It covers tokenization, embeddings, cosine similarity and Euclidean distance, then demonstrates generating embeddings with Google's Gemini model and visualizing them in 3D using PCA. It also explains vector database storage, indexing and query processing, including how IVF and HNSW indexes avoid brute-force search. The excerpt describes creating a Chroma client and collection, storing embeddings and querying by meaning; it says no prior knowledge is required.

### Source excerpt

A vector database stores data as lists of numbers called embeddings, which lets it search by meaning instead of matching exact keywords. It's the piece behind a lot of recommendation systems, RAG apps

## AttentionIndex: Accelerating Learned Sparse Attention with a Causal Inverted-File Index

DevFeed: [AttentionIndex: Accelerating Learned Sparse Attention with a Causal Inverted-File Index](<https://devfeed.tech/articles/attentionindex-accelerating-learned-sparse-attention-with-a-causal-inverted-file-index-114715.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02508>)

Author: Jeongmin Brian Park, Wen-mei Hwu

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Transformer](<https://devfeed.tech/topics/transformer.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [1-3](<https://devfeed.tech/tags/1-3.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attention](<https://devfeed.tech/tags/attention.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [budget](<https://devfeed.tech/tags/budget.md>), [builds](<https://devfeed.tech/tags/builds.md>), [but](<https://devfeed.tech/tags/but.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [context](<https://devfeed.tech/tags/context.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deepseek](<https://devfeed.tech/tags/deepseek.md>), [exhaustive](<https://devfeed.tech/tags/exhaustive.md>), [file](<https://devfeed.tech/tags/file.md>), [index](<https://devfeed.tech/tags/index.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

AttentionIndex speeds up learned sparse attention by routing each query through an inverted-file index that groups keys by similarity, then refining candidates with the native indexer score. The index is built during prefill, makes new keys searchable immediately, reuses prior clustering to reduce maintenance cost, and restricts each query to clusters from its own prefix. At one million tokens on GLM-5.3 and DeepSeek-V4-Flash, it reports 1.3-1.8x the prefill throughput of exhaustive selection. At throughput within 5% of HiSA, it recovers 17.0 and 10.0 percentage points more of the exhaustive top-k, respectively; long-context benchmark accuracy is up to 18.4 points higher than HiSA at the same candidate budget.

### Source excerpt

arXiv:2611.02508v1 Announce Type: cross Abstract: Learned sparse attention, used in production models such as DeepSeek-V4 and GLM-5, lets each query attend to only k keys chosen by a lightweight indexer, but the indexer still scores every key in the prefix. At one million tokens, this selection takes more than half of prefill time. Two-stage selection over contiguous blocks, as in HiSA, reduces this cost, but its recall declines as context grows at a fixed candidate budget. We present AttentionIndex, which routes each query over an inverted-file index that groups indexer keys by similarity and refines the candidates with the native indexer score. AttentionIndex builds the index during prefill, making new keys searchable immediately, reusing previous clustering to keep maintenance cheap, and exposing each query only to clusters built from its own prefix. On GLM-5.3 and DeepSeek-V4-Flash at one million tokens, AttentionIndex delivers 1.3-1.8 times the prefill throughput of exhaustive selection, and at throughput within 5% of HiSA, it recovers 17.0 and 10.0 percentage points more of the exhaustive top-k, respectively. AttentionIndex also improves accuracy on long-context benchmarks by up to 18.4 percentage points over HiSA at the same candidate budget.

## Nonreciprocal Spherical Attention and Retrieval: Sharp Coarsening Clocks and Certified Score Correction

DevFeed: [Nonreciprocal Spherical Attention and Retrieval: Sharp Coarsening Clocks and Certified Score Correction](<https://devfeed.tech/articles/nonreciprocal-spherical-attention-and-retrieval-sharp-coarsening-clocks-and-certified-score-correction-114669.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02237>)

Author: Faruk Alpay, Taylan Alpay

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [ann](<https://devfeed.tech/topics/ann.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [compression](<https://devfeed.tech/tags/compression.md>), [convex](<https://devfeed.tech/tags/convex.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [faiss](<https://devfeed.tech/tags/faiss.md>), [hit](<https://devfeed.tech/tags/hit.md>), [ivf](<https://devfeed.tech/tags/ivf.md>), [margin](<https://devfeed.tech/tags/margin.md>), [math-ds](<https://devfeed.tech/tags/math-ds.md>), [native](<https://devfeed.tech/tags/native.md>), [pq](<https://devfeed.tech/tags/pq.md>), [rankings](<https://devfeed.tech/tags/rankings.md>), [reproducibility](<https://devfeed.tech/tags/reproducibility.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [score](<https://devfeed.tech/tags/score.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

The work derives a sharp low-temperature coarsening clock for two shrinking acute blocks under stated skew-pairing and mass-ratio conditions, and reports a three-body flow with two separated metastable exponents. For finite compression, mass centering gives an O(r²) attention-output error bound at fixed temperature with a spherical-normalization correction. It also develops convex query-side score calibration with residual-based certificates and a norm-aware objective for native squared-distance rankings. In reported retrieval experiments, skew margin calibration modestly raises SIFT1M native-L2 hit@10 (0.8926 to 0.8948), while symmetric calibration reaches 0.8996. A ten-million-vector FAISS IVF-PQ benchmark reports 0.8827 hit@10 at 0.1794 ms/query; validation selects no skew update, so directionality alone does not demonstrate retrieval gains.

### Source excerpt

arXiv:2611.02237v1 Announce Type: new Abstract: We develop nonreciprocal spherical attention as a mathematical framework for coarsening and compressed nearest-neighbor retrieval. For two shrinking acute blocks whose centers have zero skew pairing and whose total mass ratio is subexponential in inverse temperature, we prove $\lim_{\beta\to\infty}\beta^{-1}\log T_\beta=1-\cos\phi$, without restricting particle-count growth. An explicit three-body flow has two rigorously separated metastable exponents. For finite compression, mass centering yields a sharp $O(r^2)$ attention-output error bound at fixed temperature, with an explicit spherical-normalization correction. We formulate skew query-side score calibration as a strictly convex moment problem and derive a unique normal equation, residual-based optimization certificates, and bounded low-rank projections. A norm-aware margin objective calibrates native squared-distance rankings. Experiments use semantic retrieval data, one million visual descriptors with three codebook seeds, and a ten-million-vector FAISS IVF-PQ index with recomputed exact cosine ground truth. On SIFT1M, skew margin calibration raises native-L2 hit@10 from 0.8926 to 0.8948; symmetric calibration reaches 0.8996. The ten-million-vector index reaches 0.8827 hit@10 at 0.1794 ms per query in a four-thread batch benchmark, while validation selects no skew update. Exact streamed attention over ten million keys evaluates compressed memory on 1,024 held-out queries. Independent matrix solves, automatic differentiation, finite differences, interval arithmetic, full-flow tests, and nine Rocq-checked algebra lemmas support reproducibility. Directionality alone does not establish retrieval superiority.

## Faster and Cheaper Search With Qdrant 1.20

DevFeed: [Faster and Cheaper Search With Qdrant 1.20](<https://devfeed.tech/articles/faster-and-cheaper-search-with-qdrant-1-20-113340.md>)

Original publisher: [Read original article](<https://qdrant.tech/blog/qdrant-1.20-performance/>)

Author: info@qdrant.tech (Andrey Vasnetsov)

Published: 2026-11-02T01:00:00Z

Content type: article

Language: en

Sources: [Qdrant Blog on Qdrant - Vector Search Engine](<https://devfeed.tech/sources/qdrant-blog-on-qdrant-vector-search-engine.md>)

Topics: [Qdrant](<https://devfeed.tech/topics/qdrant.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [advanced](<https://devfeed.tech/tags/advanced.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [approximate-nearest-neighbor-search](<https://devfeed.tech/tags/approximate-nearest-neighbor-search.md>), [array](<https://devfeed.tech/tags/array.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [bert](<https://devfeed.tech/tags/bert.md>), [bits](<https://devfeed.tech/tags/bits.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [faster](<https://devfeed.tech/tags/faster.md>), [fasttext](<https://devfeed.tech/tags/fasttext.md>), [hnsw](<https://devfeed.tech/tags/hnsw.md>), [image-search](<https://devfeed.tech/tags/image-search.md>), [indexing](<https://devfeed.tech/tags/indexing.md>), [knn-algorithm](<https://devfeed.tech/tags/knn-algorithm.md>), [matching](<https://devfeed.tech/tags/matching.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [native](<https://devfeed.tech/tags/native.md>), [nested](<https://devfeed.tech/tags/nested.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [performance](<https://devfeed.tech/tags/performance.md>), [qdrant](<https://devfeed.tech/tags/qdrant.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [recall](<https://devfeed.tech/tags/recall.md>), [recommender-system](<https://devfeed.tech/tags/recommender-system.md>), [saas](<https://devfeed.tech/tags/saas.md>), [search](<https://devfeed.tech/tags/search.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [semantic-search](<https://devfeed.tech/tags/semantic-search.md>), [simaes-networks](<https://devfeed.tech/tags/simaes-networks.md>), [similarity](<https://devfeed.tech/tags/similarity.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>), [vector-search-engine](<https://devfeed.tech/tags/vector-search-engine.md>), [vectors](<https://devfeed.tech/tags/vectors.md>), [word2vec](<https://devfeed.tech/tags/word2vec.md>)

### AI overview

Qdrant 1.20 adds `turbo8` and `turbo16` vector datatypes plus per-element indexes for nested metadata. TurboQuant stores vectors at 8 or 16 bits per dimension, using one-quarter or one-half the space of `float32`. Queries remain `float32` and are only rotated for asymmetric scoring; the article reports server-side latency within 10% of `float32` and near-`float32` recall without rescoring or disk reads. In tests across 14 embedding datasets, `turbo4` saved more space but lost a few recall points on some datasets. For nested filters, indexing each array element separately avoids reading candidate payloads: on one million arXiv papers, this served up to four times the queries per second of regular nested indexes with the same correct results. Flat filters were close in speed but missed 20-33% of the right papers because conditions could match different array elements. Set the datatype when creating a collection; for nested indexes, set `nested` to the array key on each filtered field.

### Source excerpt

With Qdrant 1.20, we shipped two main features that can make your search cheaper and faster: two new quantization-native datatypes (turbo8 and turbo16) and advanced metadata indexing for nested fields. We measured the performance and cost improvements so you don't have to, and in this blog post we go through our findings. Reduce Your Disk Usage, Not Your Recall Storing vectors is always the main expense when it comes to semantic search: they cost disk when cold, and memory when warm.

## When Imputation Changes the Nearest Neighbor: Exact Certification of Similarity Retrieval for Incomplete Sensor Time Series

DevFeed: [When Imputation Changes the Nearest Neighbor: Exact Certification of Similarity Retrieval for Incomplete Sensor Time Series](<https://devfeed.tech/articles/when-imputation-changes-the-nearest-neighbor-exact-certification-of-similarity-retrieval-for-incomplete-sensor-time-series-108347.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.40579>)

Author: Jianru Shen

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Time Series](<https://devfeed.tech/topics/time-series.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>)

Tags: [certification](<https://devfeed.tech/tags/certification.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-ds](<https://devfeed.tech/tags/cs-ds.md>), [dynamic-programming](<https://devfeed.tech/tags/dynamic-programming.md>), [missing-values](<https://devfeed.tech/tags/missing-values.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [nearest-neighbor](<https://devfeed.tech/tags/nearest-neighbor.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [sensor](<https://devfeed.tech/tags/sensor.md>), [time-series](<https://devfeed.tech/tags/time-series.md>)

### AI overview

The paper develops exact certificates for nearest-neighbor retrieval when a time-series query has missing values. For a family of window-minimum distances, it identifies pairwise rankings that hold across every completion in a specified box, candidate sets containing all possible nearest neighbors, and labels guaranteed not to change. Beyond the separable L1 case, where a closed form is available, the worst-case ranking gap may not occur at a box corner; the authors provide a finite critical-value reduction and exact interval dynamic programme, plus a quadratic-time layer of valid bounds and feasible witnesses. Across three traffic-sensor collections, linear interpolation changed the nearest neighbor for 15-33% of queries. The fast layer resolved about 90% of tested boundary pairs without dynamic programming; on paired network-scale queries, the exact method was 82-110 times faster than the programme alone. Certification coverage and forecasting accuracy trade off with band width, with dataset-dependent crossovers.

### Source excerpt

arXiv:2610.40579v1 Announce Type: new Abstract: Sensor time series routinely reach similarity search with missing values, and the retrieved neighbours then depend on how the gaps were filled. We ask which retrieval conclusions hold for every admissible completion of an incomplete query. For a family of window-minimum distances that contains the $L_1$ distance as its separable end we give a pairwise certificate that one candidate is strictly closer than another, a guaranteed candidate set that contains every possible nearest neighbour, and a certificate that a nearest-neighbour label cannot change. The guarantees hold uniformly over the specified box and apply to the true query whenever it lies inside. At the separable end a closed form is known, but beyond it the worst-case gap need not be attained at a corner of the box. We prove a finite reduction to critical values, give an exact interval dynamic programme for the worst-case ranking gap, and a quadratic-time fast layer of valid bounds and feasible witnesses, supported by an exact criterion for when the feature-box relaxation is tight. On three traffic-sensor collections with real gap patterns, linear interpolation changes the nearest neighbour in 15 to 33 percent of the queries. At the full band the feature-box relaxation misses up to 14 percent of the exactly stable boundary pairs, whereas fixed-completion and Monte Carlo checks issue false certificates. The fast layer resolves about 90 percent of all tested boundary pairs without dynamic programming, and on paired network-scale queries the exact method is 82 to 110 times faster than the programme alone. Label certificates transfer to three public benchmarks, and the band width trades forecasting accuracy and certification coverage for lower imputation sensitivity, with dataset-dependent crossovers.

## RT-HiSS: Ray Tracing Accelerated High Dimensional Vector Similarity Searches

DevFeed: [RT-HiSS: Ray Tracing Accelerated High Dimensional Vector Similarity Searches](<https://devfeed.tech/articles/rt-hiss-ray-tracing-accelerated-high-dimensional-vector-similarity-searches-101501.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.01975>)

Author: Revanth Reddy Munugala, Michael Gowanlock

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [large-datasets](<https://devfeed.tech/tags/large-datasets.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [ray-tracing](<https://devfeed.tech/tags/ray-tracing.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [resource-utilization](<https://devfeed.tech/tags/resource-utilization.md>), [tiling](<https://devfeed.tech/tags/tiling.md>), [vector-similarity](<https://devfeed.tech/tags/vector-similarity.md>)

### AI overview

RT-HiSS presents an exact GPU similarity-search algorithm for high-dimensional datasets, targeting a gap in prior RT-core approaches that the abstract says did not support datasets above three dimensions. It uses RT cores to build indexes and search, then CUDA cores to refine candidates. A two-pass estimate of an upper bound on result size supports memory-constrained batching and near-perfect load balancing; shared-memory tiling and compressed result masks are also examined to improve GPU utilization. Across six real-world datasets, the authors report speedups up to 8.37x over competitive state-of-the-art GPU algorithms.

### Source excerpt

arXiv:2609.01975v2 Announce Type: replace-cross Abstract: Recent GPU generations include special-purpose ray tracing (RT) cores for graphics applications. While RT cores are primarily used for rendering, recent works show they can be leveraged for general-purpose tasks, including similarity searches. However, existing approaches do not support datasets exceeding three dimensions. In this work, we propose RT-HiSS, the first exact GPU RT-core-based similarity search algorithm for high-dimensional datasets. GPU similarity search often scales poorly for large datasets with substantial search distances. To address this, RT-HiSS uses RT cores for fast index construction and searches, followed by candidate refinement on CUDA cores. We introduce a two-pass approach to estimate an upper bound on result size, enabling efficient batching under GPU memory constraints with near-perfect load balancing. Additionally, we examine shared memory tiling and compressed result masks to improve GPU resource utilization. RT-HiSS yields speedups up to 8.37$\times$ over competitive state-of-the-art GPU algorithms across six real-world datasets.

## CRANE: Post-Hoc Counterfactual Retrieval for Multimodal Classifiers

DevFeed: [CRANE: Post-Hoc Counterfactual Retrieval for Multimodal Classifiers](<https://devfeed.tech/articles/crane-post-hoc-counterfactual-retrieval-for-multimodal-classifiers-97089.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31594>)

Author: Franco Rugolon, Ioanna Miliou, Panagiotis Papapetrou

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Vectors & LLMs](<https://devfeed.tech/topics/vectors-llms.md>), [AI-driven information retrieval](<https://devfeed.tech/topics/ai-driven-information-retrieval.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>)

Tags: [classifiers](<https://devfeed.tech/tags/classifiers.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [post](<https://devfeed.tech/tags/post.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>)

### AI overview

CRANE is a post-hoc, model-agnostic method for explaining multimodal classifiers by retrieving real training examples from the target class as counterfactual candidates. Its Multimodal Consensus Retrieval strategy intersects the nearest-neighbour sets for each modality, selecting examples jointly close to the query across modalities. Across four datasets and three fusion strategies, MC-R achieved the best or joint-best result on three datasets, with explanations grounded in the joint training distribution. Unimodal retrieval remained competitive when one modality dominated the decision boundary.

### Source excerpt

arXiv:2610.31594v1 Announce Type: new Abstract: Counterfactual explanation methods have been introduced for unimodal settings, with dedicated frameworks for tabular, timeseries, text, and image data, yet no post-hoc method has been designed for classifiers that learn from multimodal inputs. Existing explainability methods for multimodal classifiers apply modality-specific attribution independently to each input, which fails to yield coherent explanations and does not transfer to arbitrary pre-trained multimodal architectures. To address these shortcomings, we present CRANE (Counterfactual Retrieval via Agnostic Nearest-neighbour Explanations), the first post-hoc, model-agnostic framework for nearest-neighbour multimodal counterfactual generation that retrieves real training examples from the target class as candidate explanations, ensuring plausibility by construction. Across four heterogeneous datasets and three fusion strategies, we show that Multimodal Consensus Retrieval (MC-R), which intersects per-modality neighbour sets to identify instances jointly close to the query in every modality, emerges as the strongest multimodal strategy, achieving the best or joint-best outcome on three of four datasets while grounding every explanation in the joint training distribution. Unimodal strategies remain competitive when a single modality dominates the decision boundary.

[Next page](<https://devfeed.tech/topics/cosine-similarity-search.md?cursor=WyIyMDI2LTEwLTIzVDA0OjAwOjAwKzAwOjAwIiwgImU4ZjAzZjEwLTkwYTMtNGFlZS05ZjgwLWQ3NzM2MmE1YmNkMSJd>)