Tibor Sloboda
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Tibor Sloboda has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Lukáš Hudec
Slovak University of Technology
4 shared publications - Wanda Benesova
Faculty of Information Technology, Czech Technical University, 16000 Prague, Czech Republic
3 shared publications Lukáš Hudec
Faculty of Informatics and Information Technology Vision & Graphics Group Slovak University of Technology Bratislava Slovak Republic
2 shared publicationsWanda Benešová
Faculty of Informatics and Information Technology Vision & Graphics Group Slovak University of Technology Bratislava Slovak Republic
2 shared publications- Andrea Felsoova
Department of Histology and Embryology, 2nd Faculty of Medicine, Charles University, 150 06 Prague, Czech Republic
1 shared publication - Jiří Uhlík
Department of Histology and Embryology, Second Faculty of Medicine, Charles University, Prague, Czech Republic
1 shared publication
Latest Publications
- Open Access
- 21 October 2025
- Published by IOS Press
- p. 4129-4136
Guarded Query Routing for Large Language Models
Query routing, the task to route user queries to different large language model (LLM) endpoints, can be considered as a text classification problem. However, out-of-distribution queries must be handled properly, as those could be about unrelated domains, queries in other languages, or even contain unsafe text. Here, we thus study a guarded query routing problem, for which we first introduce the Guarded Query Routing Benchmark (GQR-Bench, released as Python package gqr), covers three exemplary target domains (law, finance, and healthcare), and seven datasets to test robustness against out-of-distribution queries. We then use GQR-Bench to contrast the effectiveness and efficiency of LLM-based routing mechanisms (GPT-4o-mini, Llama-3.2-3B, and Llama-3.1-8B), standard LLM-based guardrail approaches (LlamaGuard and NVIDIA NeMo Guardrails), continuous bag-of-words classifiers (WideMLP, fastText), and traditional machine learning models (SVM, XGBoost). Our results show that WideMLP, enhanced with out-of-domain detection capabilities, yields the best trade-off between accuracy (88%) and speed (<4ms). The embedding-based fastText excels at speed (<1ms) with acceptable accuracy (80%), whereas LLMs yield the highest accuracy (91%) but are comparatively slow (62ms for local Llama-3.1:8B and 669ms for remote GPT-4o-mini calls). Our findings challenge the automatic reliance on LLMs for (guarded) query routing and provide concrete recommendations for practical applications. Source code is available: https://github.com/williambrach/gqr.
- 21 October 2025
- Published by IOS Press
- p. 4129-4136
Open AccessGuarded Query Routing for Large Language Models
Query routing, the task to route user queries to different large language model (LLM) endpoints, can be considered as a text classification problem. However, out-of-distribution queries must be handled properly, as those could be about unrelated domains, queries in other languages, or even contain unsafe text. Here, we thus study a guarded query routing problem, for which we first introduce the Guarded Query Routing Benchmark (GQR-Bench, released as Python package gqr), covers three exemplary target domains (law, finance, and healthcare), and seven datasets to test robustness against out-of-distribution queries. We then use GQR-Bench to contrast the effectiveness and efficiency of LLM-based routing mechanisms (GPT-4o-mini, Llama-3.2-3B, and Llama-3.1-8B), standard LLM-based guardrail approaches (LlamaGuard and NVIDIA NeMo Guardrails), continuous bag-of-words classifiers (WideMLP, fastText), and traditional machine learning models (SVM, XGBoost). Our results show that WideMLP, enhanced with out-of-domain detection capabilities, yields the best trade-off between accuracy (88%) and speed (<4ms). The embedding-based fastText excels at speed (<1ms) with acceptable accuracy (80%), whereas LLMs yield the highest accuracy (91%) but are comparatively slow (62ms for local Llama-3.1:8B and 669ms for remote GPT-4o-mini calls). Our findings challenge the automatic reliance on LLMs for (guarded) query routing and provide concrete recommendations for practical applications. Source code is available: https://github.com/williambrach/gqr.
- Open Access
- 25 January 2024
- Published by MDPI AG in Journal of Imaging
- Vol. 10 (2) , 32
Attention-Enhanced Unpaired xAI-GANs for Transformation of Histological Stain Images
Histological staining is the primary method for confirming cancer diagnoses, but certain types, such as p63 staining, can be expensive and potentially damaging to tissues. In our research, we innovate by generating p63-stained images from H&E-stained slides for metaplastic breast cancer. This is a crucial development, considering the high costs and tissue risks associated with direct p63 staining. Our approach employs an advanced CycleGAN architecture, xAI-CycleGAN, enhanced with context-based loss to maintain structural integrity. The inclusion of convolutional attention in our model distinguishes between structural and color details more effectively, thus significantly enhancing the visual quality of the results. This approach shows a marked improvement over the base xAI-CycleGAN and standard CycleGAN models, offering the benefits of a more compact network and faster training even with the inclusion of attention.
- 25 January 2024
- Published by MDPI AG in Journal of Imaging
- Vol. 10 (2) , 32
Open AccessAttention-Enhanced Unpaired xAI-GANs for Transformation of Histological Stain Images
Histological staining is the primary method for confirming cancer diagnoses, but certain types, such as p63 staining, can be expensive and potentially damaging to tissues. In our research, we innovate by generating p63-stained images from H&E-stained slides for metaplastic breast cancer. This is a crucial development, considering the high costs and tissue risks associated with direct p63 staining. Our approach employs an advanced CycleGAN architecture, xAI-CycleGAN, enhanced with context-based loss to maintain structural integrity. The inclusion of convolutional attention in our model distinguishes between structural and color details more effectively, thus significantly enhancing the visual quality of the results. This approach shows a marked improvement over the base xAI-CycleGAN and standard CycleGAN models, offering the benefits of a more compact network and faster training even with the inclusion of attention.
- 21 January 2024
- Published by Springer Nature
- p. 27-38
Editable Stain Transformation of Histological Images Using Unpaired GANs
- 21 January 2024
- Published by Springer Nature
- p. 27-38
Editable Stain Transformation of Histological Images Using Unpaired GANs
- Open Access
Editable Stain Transformation Of Histological Images Using Unpaired GANs
Double staining in histopathology, particularly for metaplastic breast cancer, typically employs H&E and P63 dyes. However, P63's tissue damage and high cost necessitate alternative methods. This study introduces xAI-CycleGAN, an advanced architecture combining Mask CycleGAN with explainability features and structure-preserving capabilities for transforming H&E stained breast tissue images into P63-like images. The architecture allows for output editing, enhancing resemblance to actual images and enabling further model refinement. We showcase xAI-CycleGAN's efficacy in maintaining structural integrity and generating high-quality images. Additionally, a histopathologist survey indicates the generated images' realism is often comparable to actual images, validating our model's high-quality output.
Open AccessEditable Stain Transformation Of Histological Images Using Unpaired GANs
Double staining in histopathology, particularly for metaplastic breast cancer, typically employs H&E and P63 dyes. However, P63's tissue damage and high cost necessitate alternative methods. This study introduces xAI-CycleGAN, an advanced architecture combining Mask CycleGAN with explainability features and structure-preserving capabilities for transforming H&E stained breast tissue images into P63-like images. The architecture allows for output editing, enhancing resemblance to actual images and enabling further model refinement. We showcase xAI-CycleGAN's efficacy in maintaining structural integrity and generating high-quality images. Additionally, a histopathologist survey indicates the generated images' realism is often comparable to actual images, validating our model's high-quality output.
- 21 September 2023
- Published by Springer Nature
- p. 403-411
xAI-CycleGAN, a Cycle-Consistent Generative Assistive Network
- 21 September 2023
- Published by Springer Nature
- p. 403-411
xAI-CycleGAN, a Cycle-Consistent Generative Assistive Network
- Open Access
xAI-CycleGAN, a Cycle-Consistent Generative Assistive Network
In the domain of unsupervised image-to-image transformation using generative transformative models, CycleGAN has become the architecture of choice. One of the primary downsides of this architecture is its relatively slow rate of convergence. In this work, we use discriminator-driven explainability to speed up the convergence rate of the generative model by using saliency maps from the discriminator that mask the gradients of the generator during backpropagation, based on the work of Nagisetty et al., and also introducing the saliency map on input, added onto a Gaussian noise mask, by using an interpretable latent variable based on Wang M.'s Mask CycleGAN. This allows for an explainability fusion in both directions, and utilizing the noise-added saliency map on input as evidence-based counterfactual filtering. This new architecture has much higher rate of convergence than a baseline CycleGAN architecture while preserving the image quality.
Open AccessxAI-CycleGAN, a Cycle-Consistent Generative Assistive Network
In the domain of unsupervised image-to-image transformation using generative transformative models, CycleGAN has become the architecture of choice. One of the primary downsides of this architecture is its relatively slow rate of convergence. In this work, we use discriminator-driven explainability to speed up the convergence rate of the generative model by using saliency maps from the discriminator that mask the gradients of the generator during backpropagation, based on the work of Nagisetty et al., and also introducing the saliency map on input, added onto a Gaussian noise mask, by using an interpretable latent variable based on Wang M.'s Mask CycleGAN. This allows for an explainability fusion in both directions, and utilizing the noise-added saliency map on input as evidence-based counterfactual filtering. This new architecture has much higher rate of convergence than a baseline CycleGAN architecture while preserving the image quality.
- Open Access
- 29 July 2021
- Published by MDPI AG in Diagnostics
- Vol. 11 (8) , 1363
Quantitative Assessment of Ciliary Ultrastructure with the Use of Automatic Analysis: PCD Quant
The ciliary ultrastructure can be damaged in various situations. Such changes include primary defects found in primary ciliary dyskinesia (PCD) and secondary defects developing in secondary ciliary dyskinesia (SCD). PCD is a genetic disease resulting from impaired ciliary motility causing chronic disease of the respiratory tract. SCD is an acquired condition that can be caused, for example, by respiratory infection or exposure to tobacco smoke. The diagnosis of these diseases is a complex process with many diagnostic methods, including the evaluation of ciliary ultrastructure using transmission electron microscopy (the golden standard of examination). Our goal was to create a program capable of automatic quantitative analysis of the ciliary ultrastructure, determining the ratio of primary and secondary defects, as well as analysis of the mutual orientation of cilia in the ciliary border. PCD Quant, a program developed for the automatic quantitative analysis of cilia, cannot yet be used as a stand-alone method for evaluation and provides limited assistance in classifying primary and secondary defect classes and evaluating central pair angle deviations. Nevertheless, we see great potential for the future in automatic analysis of the ciliary ultrastructure.
- 29 July 2021
- Published by MDPI AG in Diagnostics
- Vol. 11 (8) , 1363
Open AccessQuantitative Assessment of Ciliary Ultrastructure with the Use of Automatic Analysis: PCD Quant
The ciliary ultrastructure can be damaged in various situations. Such changes include primary defects found in primary ciliary dyskinesia (PCD) and secondary defects developing in secondary ciliary dyskinesia (SCD). PCD is a genetic disease resulting from impaired ciliary motility causing chronic disease of the respiratory tract. SCD is an acquired condition that can be caused, for example, by respiratory infection or exposure to tobacco smoke. The diagnosis of these diseases is a complex process with many diagnostic methods, including the evaluation of ciliary ultrastructure using transmission electron microscopy (the golden standard of examination). Our goal was to create a program capable of automatic quantitative analysis of the ciliary ultrastructure, determining the ratio of primary and secondary defects, as well as analysis of the mutual orientation of cilia in the ciliary border. PCD Quant, a program developed for the automatic quantitative analysis of cilia, cannot yet be used as a stand-alone method for evaluation and provides limited assistance in classifying primary and secondary defect classes and evaluating central pair angle deviations. Nevertheless, we see great potential for the future in automatic analysis of the ciliary ultrastructure.