Provide query recommendations

By pre-computing query cluster indexes and generating hierarchical arrangements, the problem of inefficiency and time-consuming calculations of search engines when recommending related queries is solved, achieving a more efficient user search experience and computing device performance.

CN112262380BActive Publication Date: 2024-10-11MICROSOFT TECHNOLOGY LICENSING LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980039390.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-06-14
Filing Date
2019-06-07
Publication Date
2024-10-11
Estimated Expiration
2039-06-07

AI Technical Summary

Technical Problem

When existing search engines process search queries, it is difficult to effectively recommend information that is related to the initial search term but does not include different options for its target, and it takes a long time to calculate query clusters at runtime, affecting the efficiency of user search sessions and computing devices. .

Method used

By precomputing the index of query clusters, identifying the most relevant baseline query clusters and nearest neighbor query clusters, forming a tree-based data structure, traversing the data structure to generate a hierarchical arrangement of queries, and sending it to the computing device, reducing runtime calculations volume to provide query recommendations across the latent intent space relevant to the initial search query.

Benefits of technology

Improves the efficiency of user search sessions and computing device efficiency, provides information recommendations for different options that are relevant to the initial search query but does not include its target, and reduces the number of computational iterations during the search process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112262380B_ABST
    Figure CN112262380B_ABST
Patent Text Reader

Abstract

Examples related to grouping query clusters based on the intent of a search query are disclosed. One example provides a method for generating recommended queries related to a search query, the method being performed by a system including a logic subsystem and a memory, the memory holding instructions executable by the logic subsystem to: receive a search query, perform the search query on an index of precomputed query clusters to identify a baseline query cluster and one or more neighbor query clusters, form a data structure including queries from within the baseline query cluster and the one or more neighbor query clusters, traverse the data structure to form a hierarchical arrangement of queries, and send the hierarchical arrangement of queries to a computing device from which the search query was received.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computers, and in particular to providing query recommendations. Background Art

[0002] The search engine locates and selects content to present in response to a search query.The search engine can be used for general web searches as well as vertical searches focused on a particular set of content. Summary of the invention

[0003] This Summary is provided to introduce some concepts in a simplified form that are further described in the Detailed Description below. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that solve any or all disadvantages noted in any part of this disclosure.

[0004] Examples are disclosed related to providing recommendations of other search queries to be performed in response to input of a search query. One example provides a method for generating recommended queries related to a search query, the method being performed by a system including a logic subsystem and a memory, the memory holding instructions executable by the logic subsystem to: receive a search query, perform the search query on an index of precomputed query clusters to identify a baseline query cluster and one or more neighbor query clusters, form a data structure including queries from within the baseline query cluster and the one or more neighbor query clusters, traverse the data structure to form a hierarchical arrangement of queries, and send the hierarchical arrangement of queries to a computing device from which the search query was received. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Figure 1 An example scenario is shown in which a user of a computing device enters a search query.

[0006] Figure 2 Shows the response to Figure 1 Sample search results and query recommendations for queries.

[0007] Figure 3 A block diagram illustrating an example usage environment for a query recommendation service is shown.

[0008] Figure 4 A flow chart illustrating an example method for generating an index for pre-computed query clusters is shown.

[0009] Figure 5 A flow chart illustrating an example method for providing a hierarchical arrangement of query clusters in response to a search query is shown.

[0010] Figure 6Construction of an example data structure and construction of an example hierarchy of queries formed by traversing the data structure are shown.

[0011] Figure 7 A flow chart illustrating an example method for obtaining a hierarchical arrangement of queries related to a search query is shown.

[0012] Figure 8 A block diagram illustrating an example computing system is shown. DETAILED DESCRIPTION

[0013] As described above, search engines can be used in a variety of situations, including general web searches and more restricted vertical searches. For example, a person studying a country of interest can perform a broad web search for general information about the country, and then perform additional searches for the economy, political system, culture, geography, weather, etc. of the country. Similarly, a person who intends to buy a home appliance can first perform a vertical search for a type of home appliance (e.g., "dishwasher") on a home improvement site, and then perform additional searches for more specific information, such as a specific manufacturer, model, size, etc. When searching for such a query, the search engine can cluster the search results based on the determined relevance of each search result to the query. The search results can then be presented on the user interface as an ordered list, so that the content determined to be more relevant to the query appears before the content determined to be irrelevant. This clustering of web page search results can enable users to quickly view content related to a given query, rather than trying to find out the scattered relevant content across multiple pages of search results. In addition, in some cases, the search engine can also return a list of related queries for additional searches. However, related queries are typically the most frequently received queries that contain the initial search term(s), and therefore may not provide any suggestions for related queries that do not contain the initial search term(s). Such related queries may also not provide information about different options that are related to the initial search query but are not the target of the initial search query (e.g., queries related to different foreign countries, competitor appliance brands, etc.).

[0014] Thus, examples are disclosed relating to providing recommendations for additional related queries in response to a search query, which can be input to search for additional information related to the search query. To generate recommendations, a search query can be performed on an index of precomputed query clusters to identify a most relevant query cluster (e.g., a query cluster containing queries determined to be most relevant to the search query) and one or more neighbor query clusters, and a data structure (e.g., a tree-based data structure, such as a suffix array) is formed that includes queries from within the determined most relevant query cluster and one or more neighbor query clusters. The data structure can be traversed to form a hierarchical arrangement of queries, and the hierarchy can be sent to a computing device from which the search query was received. By computing query clusters prior to runtime (which can be time consuming and involve many iterations when operating on millions or billions of queries within a query search log), the disclosed examples can reduce computations performed during runtime. In addition, by providing users with queries that span a potential intent space related to an initial search query, the disclosed examples can also help improve the efficiency of a user's search session, which also improves the efficiency of the computing device.

[0015] Figure 1 and 2 An example scenario is depicted that illustrates the display of recommended related queries in response to input of a search query. Figure 1 , a user inputs a search for the term "Prague" via keyboard 102 to search engine application user interface 104 displayed by computing device 100. In other examples, the search query may be input via other input mechanisms, such as by microphone, touch, or gesture. Figure 1 In the example of , a desktop computing device 100 is depicted, however, any suitable computing device may be used, such as a laptop computer, a tablet computer, a headless computing device (e.g., a smart speaker), a wearable computing device (e.g., a head-mounted display device, a wrist-mounted device), and a mobile computing device (e.g., a smart phone).

[0016] Figure 2 Shows Figure 1 106. The results include search results 108a-c, and a hierarchical arrangement 110 of recommended queries that are determined to be relevant to the search query 106. The hierarchical arrangement 110 is arranged in a nested representation. In this example, a query cluster includes the user's original query "Prague", and multiple other related queries 114 (e.g., weather in Prague, flights to Prague) nested below the first query. The hierarchical arrangement 110 of queries also includes a second query 116, "reviews", and multiple queries 118 associated with the second query 116 nested below the second query 116.

[0017] exist Figure 2In the example of, each query in the hierarchical arrangement of queries 110 is displayed as a link, which is selectable to enter the displayed query into the search engine. In another example, the hierarchical arrangement of queries can be output via a speaker, and each query in the hierarchical arrangement of queries can be selectable via a voice command.

[0018] Figure 3 A block diagram illustrating an example computing environment 300 for implementing a query recommendation service is shown. The environment 300 includes a plurality of client devices (illustrated as client devices 1 to N), each of which is communicatively coupled to a search engine 302 via a communication subsystem 306 through a network 304. Each client device 1 to N includes a search application 307 that provides search functionality, such as a web browser or a travel planning application, and the search application 307 is configured to perform a database and / or web search for a received query via the search engine 302.

[0019] Each client device 1 to N includes an input subsystem 308, which includes one or more input devices, such as a keyboard 310, a touch sensor 312, a microphone 314, and / or a camera 316. Each client device 1 to N also includes an output subsystem 318, which includes one or more output devices, such as one or more displays 320 and / or (multiple) speakers 322. More details about the example hardware configuration are provided below. Figure 8 Give a description.

[0020] The search engine 302 maintains a search query log 324 that includes a list of search queries received from client devices. The search engine 302 is communicatively coupled to a query recommendation service 326 that is configured to generate a list of recommended queries related to the search query. As described above, the query recommendation service 326 organizes the search queries from the search query log 324 into clusters. The identified clusters are indexed in a query clustering index 330, and the received query can be compared to the identified clusters to identify similar queries for recommendation. The formation of query clusters 332 can be performed pre-runtime (before receiving a search query) using a query similarity graph 334.

[0021] Figure 4A flowchart illustrating an example method 400 for generating query clusters from queries in a query log is shown. Method 400 may be implemented as stored instructions executable by a computing system such as a web search service or website that implements vertical search functionality. At 402, method 400 includes forming a vector for each query in a search query log. Each vector may include multiple dimensions A, B, C, ..., N, and associated components a1, b1, c1, ..., n1, wherein each dimension represents a search result, and the associated components for each dimension represent the number of times the search result has been selected in response to the query. Equation 1 shows an example vector representation of query Q1, wherein component a1 represents the number of times search result A has been selected in response to query Q1.

[0022] Q1:<a1A+b1B+c1C+…+n1N> (1)

[0023] At 404, method 400 includes determining a distance between each pair of queries to construct a query similarity graph. The query similarity graph may include a weighted undirected graph in which a plurality of queries Q1 to Q N are vertices of the graph, and the edges between the vertices represent the similarity between each pair of queries. Any suitable similarity calculation may be used. In some examples, determining the distance between each pair of queries includes determining at 406 the cosine similarity between each pair of vectors representing each pair of queries. Other example similarity metrics that may be used include the Jaccard coefficient, coefficient, edit distance (eg, Hamming distance, etc.), inner product, normalized mutual information, and / or a custom similarity metric.

[0024] At 408, method 400 includes grouping the queries into a plurality of query clusters. Any suitable algorithm may be used to cluster the queries, including hierarchical agglomerative clustering, k-means clustering, and / or spectral clustering. Grouping the queries into a plurality of query clusters may also include grouping the queries based on the modularity of a query similarity graph, as shown in 410. In some examples, grouping the queries into a plurality of query clusters based on the modularity of the query similarity graph includes forming a plurality of clusters, each cluster including a single query (e.g., each vertex or node of the query similarity graph is in an individual cluster), and for each combination of clusters, determining whether merging the clusters will increase the modularity of the query similarity graph. Clusters that result in an increase in the modularity of the query similarity graph may then be merged. This process may be performed until no further cluster merging will increase the modularity of the query similarity graph. In other examples, optimizing the modularity of the query similarity graph can include grouping queries into a single cluster (e.g., all vertices and nodes are within the same cluster), determining which partitions of the initial cluster into separate clusters will result in an increase in the modularity of the query similarity graph, and continuing to partition the cluster(s) until no further partitions of the cluster(s) will increase the modularity. In this manner, method 400 converts an undirected graph of search queries into clusters that each include densely connected queries, and also provides information about which clusters are closely related to other clusters.

[0025] Once query clusters are formed, the clusters may be indexed and then used to provide query recommendations. Figure 5 A flow chart illustrating an example method 500 for forming a hierarchical arrangement of queries during runtime is shown. The method 500 may be implemented as stored instructions executable by a computing system, such as a search service, to perform the method.

[0026] At 502, method 500 includes receiving an input of a search query, for example, from a remote computing device. At 504, method 500 includes executing a search query on an index of pre-computed query clusters to identify a baseline query cluster and one or more neighbor query clusters. The baseline query cluster includes a plurality of queries determined to be most relevant to the search query, and the one or more neighbor query clusters include neighbor clusters of the baseline query cluster that are also determined to be relevant to the search query. The relevance of the baseline cluster and other clusters may be determined in any suitable manner. For example, the baseline cluster may be identified based on the cluster containing the initial search query, and the neighbor clusters may be identified based on the modularity of the graph, for example, according to the strength of the connection of each neighbor query cluster to the baseline query cluster, the connection strength being determined by the distance between the nodes. As another example, the baseline query cluster and / or (multiple) neighbor query clusters may be identified using a statistical method for calculating frequency, such as term frequency (TF), term frequency inverse document frequency (TFIDF), and other similar normalizations. Using term frequency to identify the baseline query cluster may include identifying a query cluster in which the most frequently occurring query is the initial search query, or a query cluster in which the initial search query appears more frequently than in other query clusters. As yet another example, the baseline query cluster and / or neighbor query clusters may be identified via text string similarity, such as by identifying the query cluster in which the query text string has the greatest similarity to the initial search query. Neighbor query clusters identified in this manner may include queries related to other options beyond those specified in the original query, such as other destinations, activities, product brands, etc.

[0027] At 508, method 500 includes selecting a plurality of queries from the baseline query cluster and one or more neighbor query clusters, and forming a data structure from the selected queries. In some examples, forming the data structure may include forming a tree-based data structure (e.g., a suffix array), as shown in 510. In other examples, any other suitable data structure may be used. In some examples, as shown in 512, all queries from the baseline query cluster and one or more neighbor query clusters may be selected to form a data structure. In other examples, as shown in 514, a data structure may be formed by a subset of queries from the baseline query cluster and / or one or more neighbor query clusters. In such examples, different numbers of queries may be taken from the baseline query cluster and one or more neighbor query clusters, or the same number of queries may be taken from each cluster. As a more specific example, a greater number of queries may be taken from the baseline cluster than from each neighbor cluster. Including queries from neighbor query clusters in forming the data structure may form a hierarchical arrangement of queries that provides a logical pivot for tasks related to the initial search query (eg, a search for airline tickets may be followed by a search for hotels and / or activities).

[0028] Figure 6An exemplary tree-based data structure 600 in the form of a suffix array is shown. The tree-based data structure 600 includes a subset 602 of queries from the baseline query cluster and one or more neighbor query clusters identified by searching for the search query "Prague". In this example, the tree-based data structure 600 is sorted lexicographically by the first item in each suffix. The tree-based data structure 600 also includes an index 606 that identifies the order in which each suffix 604 appears in the query subset 602.

[0029] continue Figure 5 , method 500 includes traversing the data structure to form a hierarchical arrangement of queries at 516. In some examples, traversing the data structure may include identifying one or more query tags based on one or more of a binary search, text string frequency, and text string similarity for inclusion in the hierarchical arrangement of queries, as shown at 518. As a more specific example, referring again to Figure 6 , a label for the first hierarchical group of queries can be identified by performing a binary search to locate the original query "Prague" in the data structure. For example, by traversing the structure via the tree index 606 for each instance of the term "Prague" in the data structure to identify a longer string that includes the term as a suffix, other queries grouped with the query in the hierarchical arrangement of recommended queries can be located, as shown in 520. For example, the query "weather in Prague" is located by traversing the index from the instance of Prague at index position 9 to the term "in Prague" at index position 10 and "weather in Prague" at index position 11. Each query identified in this manner can then be output nested under the label "Prague". In this example, the original query is a single word and can act as a label for other queries related to the term. In other examples where the original search query includes multiple words, a suffix of the original search query (e.g., the last term of the query) can be used as a search label. In other examples, entities mentioned in query terms, stemmed versions of query term(s), and / or term(s) closely related to the query term(s) (e.g., identified via a query modification service, autocorrect, etc.) can be used as search tags.

[0030] It is also possible to locate labels for categories related to search queries by identifying frequently occurring terms through text string frequency (eg, using an n-gram word frequency algorithm). Figure 6 , the terms "review" and "castle" can be identified as query tags based on word frequency, and queries suffixed with the terms can be nested under these tags in a hierarchical arrangement of query clusters. Identification of tags and related queries can continue until a threshold condition is met (e.g., when no terms remain with a threshold word frequency).

[0031] Once one or more sub-entries of the tree-based data structure proximate to the query are identified for each query, method 500 includes merging the one or more query tags and associated sub-entries to form a hierarchical arrangement of the queries. Figure 2 and 6 In the example of , the hierarchical arrangement of queries 110 includes a nested arrangement of queries associated with the query "Prague", a nested arrangement of queries associated with the query "reviews", and a nested arrangement of queries associated with the query "castle", which are merged together to form the hierarchical arrangement of queries 110. Any suitable number of related queries may be listed beneath each query label. In some examples, all queries suffixed with a label may be grouped under the label, while in other examples, the queries grouped under a label may be within a threshold similarity of the initial search query. In any case, the organization of the results may be thought of as a sequence or list of tasks (in aggregate) performed by the user (e.g., weather in a city, hotel reviews, things to do, etc.), which, by allowing individual users to identify clusters of similar items, can predict other possible actions that the user may wish to consider or take. Referring again briefly to Figure 2 , the hierarchical arrangement of the queries depicted provides a sequence of search clusters, including introductory information about Prague 112 , reviews for selecting accommodation, food, and activities to do in Prague, and information about popular attractions in Prague 120 , 122 .

[0032] Furthermore, as described above, a hierarchical arrangement of queries may include queries on different but related topics. Figure 6 Not shown in , but the baseline query cluster and / or neighbor query cluster(s) identified for the initial search query "Prague" may include queries about another foreign city, other countries, etc. This may facilitate discovery of additional content of interest.

[0033] At 522, method 500 includes sending a hierarchical arrangement of queries to a computing device from which a search query is received. Sending the hierarchical arrangement of queries to the computing device may include sending the hierarchical arrangement of queries as a plurality of selectable links, wherein each selectable link is selectable to input a corresponding query into a search engine, as shown in 524. Sending the hierarchical arrangement of queries to the computing device may additionally or alternatively include sending relevant content (e.g., search results) related to each query in the hierarchical arrangement of queries to the computing device. This can help proactively present relevant content, and thus can reduce the number of searches performed during a usage session, which can help reduce computation. In other examples, the hierarchical arrangement of queries may be sent in any other suitable form.

[0034] Figure 7A flowchart illustrating an example method 700 for obtaining a hierarchical arrangement of queries related to a search query is shown. For example, method 700 can be implemented as stored instructions executable by a client computing device communicating with a search service. At 702, method 700 includes receiving user input of a search query (e.g., via voice, keyboard, touch sensor, and / or (multiple) other suitable user input devices). Method 700 includes sending a search query to a query recommendation service via a communication subsystem of a computing device at 704, and receiving a hierarchical arrangement of queries determined to be related to the search query from the query recommendation service at 706. The hierarchical arrangement of queries received from the query recommendation service can include at least a first query tag and multiple queries associated with the first query tag, and a second query tag and multiple queries associated with the second query tag.

[0035] At 708, method 700 includes outputting the hierarchical arrangement of queries to a user interface, e.g., via a speaker and / or display 710. The queries may be arranged in any suitable manner, such as in a nested arrangement 712. Further, in some examples, the queries may be sorted in an order based on the determined similarity between the search query and each of the first query tag and the second query tag, as shown at 714 (e.g., using cosine similarity or other suitable similarity calculations). The user may then simply select one of the queries in the hierarchical list of queries to perform additional searches.

[0036] In some embodiments, the methods and processes described herein may be linked to a computing system of one or more computing devices. In particular, such methods and processes may be implemented as computer applications or services, application programming interfaces (APIs), libraries, and / or other computer program products.

[0037] Figure 8 A non-limiting embodiment of a computing system 800 that can implement one or more of the above methods and processes is schematically illustrated. The computing system 800 is shown in simplified form. The computing system 800 can take the form of one or more personal computers, server computers, tablet computers, home entertainment computers, network computing devices, gaming devices, mobile computing devices, mobile communication devices (e.g., smart phones), and / or other computing devices.

[0038] The computing system 800 includes a logic machine 802 and a storage machine 804. The computing system 800 may optionally include a display subsystem 806, an input subsystem 808, a communication subsystem 810, and / or Figure 8 Other components not shown.

[0039] The logic machine 802 includes one or more physical devices configured to execute instructions. For example, the logic machine 802 may be configured to execute instructions as part of one or more applications, services, programs, routines, libraries, objects, components, data structures, or other logical constructs. Such instructions may be implemented to perform a task, implement a data type, transform the state of one or more components, achieve a technical effect, or otherwise achieve a desired result.

[0040] The logic machine 802 may include one or more processors configured to execute software instructions. Additionally or alternatively, the logic machine 802 may include one or more hardware or firmware logic machines configured to execute hardware or firmware instructions. The processors of the logic machine 802 may be single-core or multi-core, and the instructions executed thereon may be configured for sequential, parallel, and / or distributed processing. The various components of the logic machine 802 may optionally be distributed in two or more separate devices, which may be remotely located and / or configured for coordinated processing. Various aspects of the logic machine 802 may be virtualized and executed by a remotely accessible networked computing device configured in a cloud computing configuration.

[0041] Storage machine 804 includes one or more physical devices configured to hold instructions executable by logic machine 802 to implement the methods and processes described herein. When implementing such methods and processes, the state of storage machine 804 may be transformed, for example, to hold different data.

[0042] The storage machine 804 may include removable and / or built-in devices. The storage machine 804 may include optical storage (e.g., CD, DVD, HD-DVD, Blu-ray disc, etc.), semiconductor storage (e.g., RAM, EPROM, EEPROM, etc.), and / or magnetic storage (e.g., hard disk drive, floppy disk drive, tape drive, MRAM, etc.), etc. The storage machine 804 may include volatile, non-volatile, dynamic, static, read / write, read-only, random access, sequential access, location addressable, file addressable, and / or content addressable devices.

[0043] It should be understood that storage machine 804 includes one or more physical devices. Alternatively, however, various aspects of the instructions described herein may be propagated by a communication medium (eg, electromagnetic signals, optical signals, etc.) that is not retained for a finite duration by a physical device.

[0044] Aspects of the logic machine 802 and the storage machine 804 may be integrated together as one or more hardware logic components. Such hardware logic components may include field programmable gate arrays (FPGAs), program and application specific integrated circuits (PASIC / ASIC), program and application specific standard products (PSSP / ASSP), systems on chips (SOCs), and complex programmable logic devices (CPLDs).

[0045] The terms "program" and "engine" may be used to describe an aspect of a computing system 800 that is implemented to perform a particular function. In some cases, a program or engine may be instantiated via the logic machine 802 executing instructions held by the storage machine 804. It should be understood that different programs and / or engines may be instantiated from the same application, service, code block, object, library, routine, API, function, etc. Likewise, the same program and / or engine may be instantiated by different applications, services, code blocks, objects, routines, APIs, functions, etc. The terms "program" and "engine" may include single or grouped executable files, data files, libraries, drivers, scripts, database records, etc.

[0046] It should be understood that, as used herein, a "service" is an application program that is executable across multiple user sessions. A service may be available to one or more system components, programs, and / or other services. In some implementations, a service may run on one or more server computing devices.

[0047] When included, the display subsystem 806 can be used to present a visual representation of the data maintained by the storage machine 804. This visual representation can take the form of a graphical user interface (GUI). When the methods and processes described herein change the data maintained by the storage machine and thus transform the state of the storage machine, the state of the display subsystem 806 can also be transformed to visually represent the changes in the underlying data. The display subsystem 806 can include one or more display devices that utilize virtually any type of technology. Such a display device can be combined with the logic machine 802 and / or the storage machine 804 in a shared shell, or such a display device can be a peripheral display device.

[0048] When included, the input subsystem 808 may include or interact with one or more user input devices, such as a keyboard, mouse, touch screen, or game controller. In some embodiments, the input subsystem may include or interact with selected natural user input (NUI) components. Such components may be integrated or peripheral, and the transduction and / or processing of input actions may be performed on-board or off-board. Example NUI components may include microphones for sound and / or voice identification; infrared, color, stereo, and / or depth cameras for machine vision and / or gesture recognition; head trackers, eye trackers, accelerometers, and / or gyroscopes for motion detection and / or intent recognition; and electric field sensing components for assessing brain activity.

[0049] When included, the communication subsystem 810 can be configured to communicatively couple the computing system 800 with one or more other computing devices. The communication subsystem 810 can include wired and / or wireless communication devices compatible with one or more different communication protocols. As non-limiting examples, the communication subsystem 810 can be configured for communication via a wireless telephone network or a wired or wireless local area network or wide area network. In some embodiments, the communication subsystem 810 can allow the computing system 800 to send messages to other devices and / or receive messages from other devices via a network such as the Internet.

[0050] Another example provides a system for generating recommended queries related to a search query, the system including a logic subsystem and a memory, the memory holding instructions executable by the logic subsystem to: receive a search query, execute the search query on an index of precomputed query clusters to identify a baseline query cluster and one or more neighbor query clusters, form a data structure including queries from within the baseline query cluster and the one or more neighbor query clusters, traverse the data structure to form a hierarchical arrangement of queries, and send the hierarchical arrangement of queries to a computing device from which the search query was received. In such an example, the instructions may be additionally or alternatively executable to generate an index related to the computed query clusters by: forming a vector for each query in a search query log, each vector including a plurality of dimensions and associated components, each dimension representing a search result, and the associated components of each dimension representing the number of times the search result has been selected in response to the query, determining a distance between each pair of queries in the query to construct a query similarity graph, and grouping the queries into a plurality of query clusters. In such an example, the instructions may be additionally or alternatively executable to group the queries based on cosine similarity, Jaccard coefficient, -One or more of the Dice coefficient, edit distance, inner product, normalized mutual information and / or customized similarity metrics to determine the distance between each pair of two or more queries. In such an example, the instruction may be additionally or alternatively executable to send a hierarchical arrangement of queries as a plurality of selectable links, each selectable link selectable to input a corresponding query into a search engine. In such an example, the instruction may be additionally or alternatively executable to traverse a data structure to identify one or more query tags based on a binary search, word frequency, and text string similarity for inclusion in a hierarchical arrangement of queries. In such an example, the instruction may be additionally or alternatively executable to traverse a data structure via an index to identify one or more related queries including a query tag for inclusion in a hierarchical arrangement of queries for each query tag in one or more query tags identified for inclusion in a hierarchical arrangement of queries. In such an example, the instruction may be additionally or alternatively executable to form a data structure as a tree-based data structure. In such an example, the instructions may additionally or alternatively be executable to form a data structure by including all queries from the baseline query cluster and queries within one or more neighbor query clusters in the data structure. In such an example, the instructions may additionally or alternatively be executable to form a data structure by including a subset of queries from the baseline query cluster and queries within one or more neighbor query clusters in the data structure.

[0051] Another example provides a computing device, the computing device comprising: an output subsystem including one or more output devices; an input subsystem including one or more input devices; a logic subsystem; and a memory holding instructions, the instructions being executable by the logic subsystem to: receive user input of a search query, send the search query to a query recommendation service, receive a hierarchical arrangement of queries determined to be relevant to the search query from the query recommendation service, the hierarchical arrangement of queries comprising at least a first query tag and a plurality of queries associated with the first query tag, and a second query tag and a plurality of queries associated with the second query tag, and output the hierarchical arrangement of queries to a user interface. In such an example, the instructions may be executable additionally or alternatively to output the hierarchical arrangement of queries via one or more of a speaker and a display. In such an example, the computing device may additionally or alternatively include one or more of a desktop computing device, a laptop computing device, a mobile computing device, a wearable computing device, and an unmanned leader computing device. In such an example, the instructions may be executable additionally or alternatively to output the hierarchical arrangement of queries as a nested arrangement. In such an example, the instructions may additionally or alternatively be executable to output a hierarchical arrangement of queries in an order based on the determined similarity between the search query and each of the first query tag and the second query tag.

[0052] Another example provides a machine-implemented method comprising: receiving a search query, executing the search query against an index of precomputed query clusters to identify a baseline query cluster and one or more neighbor query clusters, forming a data structure including one or more queries from within the baseline query cluster and the one or more neighbor query clusters, traversing the data structure to form a hierarchical arrangement of queries, the queries from the baseline query cluster and the one or more neighbor query clusters, and sending the hierarchical arrangement of queries to a computing device from which the search query was received. In such an example, the method may additionally or alternatively include: prior to receiving the search query, forming a vector for each query in a search query log, each vector comprising a plurality of dimensions and associated components, each dimension representing a search result, and the associated components for each dimension representing a number of times the search result has been selected in response to the query, determining a distance between each pair of queries in the query to construct a query similarity graph, and grouping the queries into a plurality of query clusters. In such an example, performing a search query on an index of precomputed query clusters may additionally or alternatively include: identifying a baseline query cluster and one or more neighbor query clusters based on one or more of a modularity of a query similarity graph, a term frequency within a precomputed query cluster, and a text string similarity between the search query and the queries within the precomputed query cluster. In such an example, traversing a data structure to form a hierarchical arrangement of queries may additionally or alternatively include: traversing the data structure to identify one or more query tags based on a binary search, text string similarity, and text string frequency for inclusion in the hierarchical arrangement of queries. In such an example, traversing a data structure to form a hierarchical arrangement of queries may additionally or alternatively include: for each query tag in the one or more query tags identified for inclusion in the hierarchical arrangement of queries, traversing the data structure via the index to identify one or more sub-entries of a data structure proximate to the query tag. In such an example, sending a hierarchical arrangement of queries to a computing device may additionally or alternatively include: sending a nested arrangement of queries to a computing device, the nested arrangement of queries including at least a first query tag and a plurality of queries nested below the first query tag that are determined to be associated with the first query tag.

[0053] It should be understood that the configurations and / or methods described herein are exemplary in nature, and these specific embodiments or examples should not be considered restrictive, as many variations are possible. The specific routines or methods described herein may represent one or more of any number of processing strategies. Thus, the various actions shown and / or described may be performed in the order shown and / or described, performed in other orders, performed in parallel, or omitted. Likewise, the order of the above-mentioned processing may be changed.

[0054] The subject matter of the present disclosure includes all novel and non-obvious combinations and sub-combinations of the various processes, systems and configurations, and other features, functions, acts, and / or properties disclosed herein, and any and all equivalents thereof.

Claims

1. A system for generating a recommended query, the recommended query being related to a search query, the system comprising: Logical subsystem; as well as A memory that holds instructions executable by the logic subsystem: Generate the index for the precomputed query cluster in the following way: forming a vector for each respective query in the search query log, each respective vector comprising a plurality of dimensions and associated components, each respective dimension representing a respective search result, and the associated component for each respective dimension representing a number of times the respective search result has been selected in response to the respective query, Determine the distances between corresponding query pairs to build a query similarity graph, and Grouping the queries in the query similarity graph into a plurality of query clusters, receiving an input search query from a computing device, the input search query comprising one or more search words; executing the input search query against the index of precomputed query clusters to identify a baseline query cluster, a first neighbor query cluster, and a second neighbor query cluster, forming a data structure comprising a plurality of related queries related to the input search query, the plurality of related queries comprising a baseline related query from within the baseline query cluster, a first related query from within the first neighbor query cluster, and a second related query from within the second neighbor query cluster, wherein each related query in the data structure comprises one or more words related to the input search query, traversing the data structure to form a hierarchical arrangement of related queries, and The hierarchical arrangement of related queries is sent to the computing device from which the input search query was received.

2. The system of claim 1, wherein the instructions are executable to determine the distance based on at least one or more of: cosine similarity, Jaccard coefficient, - Dice coefficient, edit distance, inner product, normalized mutual information, and / or custom similarity metrics.

3. The system of claim 1, wherein the instructions are executable to send the hierarchical arrangement of related queries as a plurality of selectable links, each selectable link being selectable to input a corresponding query into a search engine.

4. The system of claim 1, wherein the instructions are executable to traverse the data structure to identify a plurality of query tags for inclusion in the hierarchical arrangement of related queries based on one or more of a binary search, term frequency, and text string similarity. 5 . The system of claim 4 , wherein the instructions are further executable to, for each query tag in the plurality of query tags identified for inclusion in the hierarchical arrangement of related queries, traverse the data structure to identify the plurality of related queries. The system of claim 1 , wherein the instructions are executable to form the data structure as a tree-based data structure.

7. The system of claim 1, wherein the instructions are executable to: The data structure is formed by including in the data structure all of the baseline related queries from within the baseline query cluster, all of the first related queries from within the first neighbor query cluster, and all of the second related queries from within the second neighbor query cluster.

8. The system of claim 1, wherein the instructions are executable to: The data structure is formed by including in the data structure a first subset of less than all of the first related queries from within the first neighbor query cluster, a second subset of less than all of the second related queries from within the second neighbor query cluster, and a third subset of less than all of the baseline related queries from within the baseline query cluster.

9. A computer-implemented method comprising: Generate the index for the precomputed query cluster in the following way: forming a vector for each respective query in the search query log, each respective vector comprising a plurality of dimensions and associated components, each respective dimension representing a respective search result, and the associated component for each respective dimension representing a number of times the respective search result has been selected in response to the respective query; Determining the distances between corresponding query pairs to construct a query similarity graph; as well as grouping queries in the query similarity graph into a plurality of query clusters, receiving an input search query, the input search query comprising one or more search words; executing the input search query against the index of precomputed query clusters to identify a baseline query cluster, a first neighbor query cluster, and a second neighbor query cluster, forming a data structure comprising a plurality of related queries related to the input search query, the plurality of related queries comprising a baseline related query from within the baseline query cluster, a first related query from within the first neighbor query cluster, and a second related query from within the second neighbor query cluster, wherein each related query in the data structure comprises one or more words related to the input search query, traversing the data structure to form a hierarchical arrangement of related queries, and The hierarchical arrangement of related queries is sent to a computing device from which the input search query was received.

10. The computer-implemented method of claim 9, wherein performing the search query on the index of the pre-computed query clusters comprises identifying the baseline query cluster, the first neighbor query cluster, and the second neighbor query cluster based on one or more of: modularity of the query similarity graph, term frequency within the pre-computed query clusters, and text string similarity between the input search query and individual queries within the pre-computed query clusters.

11. The computer-implemented method of claim 9, wherein traversing the data structure to form a hierarchical arrangement of the related queries comprises: The data structure is traversed to identify one or more query tags for inclusion in the hierarchical arrangement of related queries based on one or more of a binary search, text string similarity, and text string frequency.

12. The computer-implemented method of claim 11, wherein traversing the data structure to form a hierarchical arrangement of the related queries comprises: For each respective one of the one or more query tags identified for inclusion in the hierarchical arrangement of related queries, the data structure is traversed to identify one or more sub-entries of the data structure related to the respective query tag.

13. The computer-implemented method of claim 9, wherein sending the hierarchical arrangement of queries to a computing device comprises: A nested arrangement of queries is sent to the computing device, the nested arrangement of queries including at least three different query tags for the baseline query from the baseline query cluster, the first related query from the first neighbor query cluster, and the second related query from the second neighbor query cluster.

14. One or more physical storage devices storing executable instructions, which, when executed by one or more processors, cause the one or more processors to perform actions including: Generate the index for the precomputed query cluster in the following way: forming a vector for each respective query in the search query log, each respective vector comprising a plurality of dimensions and associated components, each respective dimension representing a respective search result, and the associated component for each respective dimension representing a number of times the respective search result has been selected in response to the respective query; Determining the distances between corresponding query pairs to construct a query similarity graph; as well as grouping queries in the query similarity graph into a plurality of query clusters, receiving an input search query, the input search query comprising one or more search words; executing the input search query against the index of precomputed query clusters to identify a baseline query cluster, a first neighbor query cluster, and a second neighbor query cluster, forming a data structure comprising a plurality of related queries related to the input search query, the plurality of related queries comprising a baseline related query from within the baseline query cluster, a first related query from within the first neighbor query cluster, and a second related query from within the second neighbor query cluster, wherein each related query in the data structure comprises one or more words related to the input search query, traversing the data structure to form a hierarchical arrangement of related queries, and The hierarchical arrangement of related queries is sent to a computing device from which the input search query was received.

15. One or more physical storage devices according to claim 14, wherein the input search query includes the name of a city, and each of the baseline related queries from the baseline query cluster, the first related queries from the first neighbor query cluster, and the second related queries from the second neighbor query cluster also includes the name of the city.

16. The one or more physical storage devices of claim 14, wherein the input search query includes the name of a city, and the second related queries from the second cluster of neighbor queries each include the name of a different city.

17. The one or more physical storage devices of claim 14, wherein the hierarchical arrangement includes suggested queries from each of the baseline query cluster, the first neighbor query cluster, and the second neighbor query cluster.

18. The one or more physical storage devices of claim 17, wherein each suggested query in the hierarchical arrangement includes a search word of the input search query.