AI Aulis

AI NEWS IN ENGLISH · 21 October 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 21 October 2026Paper

Biomedical RAG: hierarchical representation mostly matches full text, with a smaller index

AI-generated contentWritten by AI

arXiv · Source published: 19 October 2026 at 16:08 (UTC+03:00)

According to a preprint, a hierarchical document representation matched or outperformed chunked full text in most comparisons of biomedical RAG retrieval, and its index was 44–56 per cent smaller. Growing the collection also changed which retrieval set-up worked best.

Researchers at the HiTZ language technology centre of the University of the Basque Country (EHU) studied how the size of a retrieval collection and the way documents are represented affect biomedical RAG systems. In a RAG system, an LLM bases its answers on texts that a retrieval step picks from a collection. The team published the results on arXiv on 19 October 2026 as a preprint that has not been peer reviewed.

The researchers enlarged the collection in stages. They added publications unrelated to the questions but kept the correct sources in the collection. At its largest, the PubMed collection held about 4.3 million articles. The team indexed the articles in three ways: as abstracts, as full text split into chunks of up to 1,600 characters, or as hierarchical units built with the TreeRAG method, which preserve the relationships between the parts of a document.

When the researchers indexed the whole of PubMed, chunked full text produced 117.4 million retrieval units and the hierarchical representation 38.3 million. The index shrank by 44–56 per cent, depending on the retrieval model. With the largest retrieval model, Qwen3-Embedding-8B, it fell from 1,985 gigabytes to 872 gigabytes. Even so, the hierarchical representation was as good as or better than chunked full text in most comparisons when answering multiple-choice questions. The researchers point out, however, that the experiments do not show hierarchy to be the only cause of the result.

Models with 4 billion parameters answered the questions. Across five external medical benchmarks, retrieval improved accuracy for three of the four model configurations. With thinking mode switched on, Qwen3.5-4B already gave the best answers without retrieval, and retrieval lowered its average with every representation.

Model LLM only Abstract Full text TreeRAG
Gemma-3-4B 54.0 +5.8 +7.3 +7.7
MedGemma-1.5-4B 48.2 +7.3 +7.6 +9.6
Qwen3.5-4B 69.6 +0.5 +2.5 +2.0
Qwen3.5-4B, thinking on 78.0 −2.0 −1.2 −0.5

Mean accuracy without retrieval (%) and the change from retrieval in percentage points across five benchmarks, with retrieval from the whole of PubMed. Source: Sánchez-Freire et al., preprint.

A second experimental set-up used MIRIAD, an automatically generated, synthetic question dataset whose questions are linked to source texts. On MIRIAD’s separate test set, retrieval improved every model’s accuracy by 10.2–30.3 percentage points compared with answering without retrieval. However, the test set was built in the same way as the development set the team used to choose the retrieval set-ups. The researchers therefore describe it as an in-dataset test rather than an external evaluation.

Differences between retrieval models, rerankers and representations seen with a small collection did not consistently hold as the collection grew, the researchers said. When the system retrieved answers from PubMed for the 40-question MedAESQA dataset, the traditional keyword search BM25 deteriorated the most as misleading publications were added. On MIRIAD, BM25 stayed close to the best retrieval model.

In reranking, a second model puts the top 100 retrieval hits into a new order. This helped on MIRIAD when the collection was at its largest. In MedAESQA retrieval, no reranker improved on Qwen3-Embedding-8B’s own ranking.

Abstracts worked best on MedAESQA, whose sources are themselves abstracts. In the other tests, full text and the hierarchical representation were generally stronger.

Qwen3-Embedding-8B took an average of 1,234.7 milliseconds per query for retrieval, while the lighter BGE-base-en-v1.5 took 53.9 milliseconds. Latency and storage figures depend on the hardware and software, the researchers noted. The evaluation was limited to multiple-choice questions, so it says nothing about the quality of open-ended answers or about clinical validity. The code is available on GitHub.

Report an error in this story