Machine learning relevancy in AI Search
Summarize
Summary of Machine Learning Relevancy in AI Search
Machine learning in AI Search enhances search result relevancy by automatically tuning the relevancy scoring based on user interactions. This feature is enabled by default and is not configurable, ensuring that the most relevant search results appear first.
Show less
Key Features
- Relevancy Scoring: AI Search computes a relevancy score for each search result, prioritizing documents with higher scores in the result set. Each search profile has its own relevancy model that cannot be modified or deleted.
- Search Signals: The system records user interactions with the search components, which are then used to continually tune the relevancy models every 30 days.
- A/B Testing: New relevancy models are compared against existing models to determine which provides better search results. The best-performing model is set as the active model for that search profile.
- Auto-complete Suggestions: A separate relevancy model ranks records for auto-complete suggestions based on freshness and title field matches, but this model is not trainable.
- Search Result Scores: Administrators can view relevancy scores for search results through the Search Preview UI, allowing for investigation into search behavior.
Key Outcomes
By leveraging machine learning for relevancy tuning, customers can expect improved search result accuracy and user satisfaction. However, successful tuning requires a minimum of 10,000 stored search event signals per search profile; otherwise, the original model will remain in use. Note that upgrading to Yokohama may alter default relevancy scores, but models trained in the previous release should retain their order.
AI Search displays the most relevant search results for a query first. Machine learning automatically tunes search result relevancy scoring for search experiences based on aggregated user interactions.
Machine learning relevancy is automatically enabled and isn't configurable.
Relevancy models and scoring
AI Search uses a relevancy model to compute a relevancy score for each result returned by a search. Documents with higher relevancy scores appear first in the result set. A result's relevancy score is specific to the particular document, search terms, and user associated with the query.
Search signals and machine learning relevancy tuning
AI Search UX components record signals associated with user searches. These search signals include data on how search users interact with the search input field, auto-complete suggestions, facet and source facet bucket filters, Genius Result answer cards, and search results. To learn more about how search signals are recorded and stored, see Search signals.
Machine learning relevancy uses data from these search signals to intelligently tune relevancy models on a continual basis. Every 30 days, AI Search computes a new version of each relevancy model, iteratively modifying its parameters and regression testing it against aggregated search signal data for the search profile. When this tuning process is complete, AI Search compares the existing and new relevancy models to see which one produces better matches for user search behavior as recorded in the historical signal data.
If the new model outperforms the original model in both the historical search-match comparison and the A/B testing, AI Search sets it as the active relevancy model for the search profile, overwriting the existing relevancy model. The updated relevancy model remains in use until the next tuning cycle begins.
Successful relevancy tuning requires at least 10,000 stored search event signals for a search profile. If the search profile has fewer than 10,000 signals stored, relevancy tuning fails with an error message and AI Search continues to use the original relevancy model for that search profile.
Relevancy model for auto-complete suggestions
AI Search uses a dedicated relevancy model to rank records for display as auto-complete suggestions in the search field. This relevancy model scores records based on their freshness and on search query term matches in their title fields. The system doesn't train this auto-complete suggestion relevancy model. For details on configuring auto-complete suggestions, see Auto-complete suggestions in AI Search applications.
Viewing relevancy scores for search results
Search administrators can view the scores for search results in the Search Preview UI from the Advanced AI Search Management Tools ServiceNow® Store application. For details on using this feature to investigate search behavior, see Search Preview UI for AI Search.