Papers › Siamese BERT-based Model for Web Search Relevance Ranking Evaluated on a New Czech Dataset

Siamese BERT-based Model for Web Search Relevance Ranking Evaluated on a New Czech Dataset

3 Dec 2021arXiv:2112.01810archive 2025-07-28

Matěj Kocián, Jakub Náplava, Daniel Štancl, Vladimír Kadlec

Web search engines focus on serving highly relevant results within hundreds of milliseconds. Pre-trained language transformer models such as BERT are therefore hard to use in this scenario due to their high computational demands. We present our real-time approach to the document ranking problem leveraging a BERT-based siamese architecture. The model is already deployed in a commercial search engine and it improves production performance by more than 3%. For further research and evaluation, we release DaReCzech, a unique data set of 1.6 million Czech user query-document pairs with manually assigned relevance levels. We also release Small-E-Czech, an Electra-small language model pre-trained on a large Czech corpus. We believe this data will support endeavours both of search relevance and multilingual-focused research communities.

PaperPDFCode

Code

seznam/dareczech officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Document RankingLanguage ModelingSmall Language Model

Datasets

Introduced by this paper, per the archive.

DaReCzech

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Document Ranking DaReCzech Query-doc RobeCzech (Roberta-base) P@10 46.73 #1 of 3 Archive leaderboard report
Document Ranking DaReCzech Query-doc Small-E-Czech (Electra-small) P@10 46.30 #2 of 3 Archive leaderboard report
Document Ranking DaReCzech Siamese Small-E-Czech (Electra-small) P@10 45.26 #3 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections