Book Image

Neural Search - From Prototype to Production with Jina

By : Jina AI, Bo Wang, Cristian Mitroi, Feng Wang, Shubham Saboo, Susana Guzmán
Book Image

Neural Search - From Prototype to Production with Jina

By: Jina AI, Bo Wang, Cristian Mitroi, Feng Wang, Shubham Saboo, Susana Guzmán

Overview of this book

Search is a big and ever-growing part of the tech ecosystem. Traditional search, however, has limitations that are hard to overcome because of the way it is designed. Neural search is a novel approach that uses the power of machine learning to retrieve information using vector embeddings as first-class citizens, opening up new possibilities of improving the results obtained through traditional search. Although neural search is a powerful tool, it is new and finetuning it can be tedious as it requires you to understand the several components on which it relies. Jina fills this gap by providing an infrastructure that reduces the time and complexity involved in creating deep learning–powered search engines. This book will enable you to learn the fundamentals of neural networks for neural search, its strengths and weaknesses, as well as how to use Jina to build a search engine. With the help of step-by-step explanations, practical examples, and self-assessment questions, you'll become well-versed with the basics of neural search and core Jina concepts, and learn to apply this knowledge to build your own search engine. By the end of this deep learning book, you'll be able to make the most of Jina's neural search design patterns to build an end-to-end search solution for any modality.
Table of Contents (13 chapters)
1
Part 1: Introduction to Neural Search Fundamentals
5
Part 2: Introduction to Jina Fundamentals
8
Part 3: How to Use Jina for Neural Search

Evaluating a neural search system

Evaluating the effectiveness of a neural search system is critical once you set up some baseline. By monitoring the evaluation metrics, you can immediately know how well your system performs. By diving deep into the queries, you can also conduct failure analysis and learn how to improve your system.

In this section, we will give a brief overview of the most commonly used evaluation metrics. If you want to have a more detailed mathematical understanding of this topic, we strongly recommend you go through Evaluation in information retrieval (https://nlp.stanford.edu/IR-book/pdf/08eval.pdf).

In general, given the difference between search tasks, normally we can group search evaluation into two categories:

  • Evaluation of unranked results: These metrics are widely used in some retrieval or classification tasks, including precision, recall, and F-Score.
  • Evaluation of ranked results: These metrics are mainly used in typical search applications...