arXiv Science⌕ Search

arXiv subjects

Bogdan Neterebskii

Publications and source records attributed to Bogdan Neterebskii.

2 recordsLinked to original sources

Machine Learning-Driven RAG System Design

Retrieval-Augmented Generation (RAG) has become a standard approach for grounding large language models in external knowledge, yet its performance depends critically on a large number of interacting design choices. Systematic optimization of these choices remains costly, as each configuration must be evaluated through full pipeline execution. In this work, we propose to treat RAG optimization as a prediction problem, using surrogate models to approximate the functional dependencies between configuration parameters and performance metrics. Using a stage-wise configurable RAG framework, we conduct large-scale experiments across three chemistry QA domains, systematically evaluating 648 configurations per domain and publicly releasing the resulting datasets of configurations and evaluation metrics. Surrogate models trained on this data achieve strong predictive accuracy ($R^2 \geq 0.84$ across all metrics and domains), and SHAP-IQ-based analysis of the learned models reveals consistent parameter interaction patterns across domains, despite substantial differences in corpus characteristics. We exploit this cross-domain regularity in transfer experiments: surrogate predictions generalize to unseen domains without target-domain training data on two transfer-robust metrics, and achieve full transfer across all six metrics with as little as 10% of target-domain data for selected domain pairs. Finally, we apply surrogate models to optimize RAG configurations over an expanded search space of 61,152 candidates, recovering top-performing configurations in seconds rather than days, with gains of up to +0.09 in key retrieval and generation evaluation metrics. Together, these results demonstrate that RAG design spaces are structured, transferable, and efficiently optimizable via surrogate modeling.

cs.AI↗

Algorithms for local optimization of OPLS energy for large protein structures

Many problems arise in computational biology can be reduced to the minimization of energy function, that determines on the geometry of considered molecule. The solution of this problem allows in particular to solve folding and docking problems in structural biology. For the small molecules this problem is well solved. But for the large molecules ($10^4$ atoms and more) this is still an open problem. In this work we consider energy minimization problem (OPLS force field) for the large molecules but with good enough initial (starting) point. In the paper one can find a biological explanation of this assumption. Due to this assumption we reduce the global optimization problem to the local one. We compare different methods: gradient-free methods, gradient type methods (gradient method, fast gradient method, conjugate gradients (CG), LBFGS), high-order (tensor) methods. We observe that the most convenient ones in GPU realization are fast gradient descent with special line-search and CG (Polak--Ribiere--Polyak), LBFGS (memory = 3 iteration). Finally, we demonstrate how all these method work on real data set provided by BIOCAD.

math.OC↗