The HITS algorithm (Hyperlink-Induced Topic Search) is a link analysis algorithm that assigns two interdependent scores to each web page in a focused subgraph: an authority score, estimating the value of the page's content, and a hub score, estimating the value of its links to other authorities. Unlike PageRank's single global score, HITS produces a dual ranking that captures the mutually reinforcing relationship between content creators and content curators.
Glossary
HITS Algorithm

What is HITS Algorithm?
A link analysis algorithm that rates web pages by identifying two types of nodes: authoritative pages with high-quality content and hub pages that link to many related authorities.
Developed by Jon Kleinberg in 1999, the algorithm operates on a query-specific subgraph rather than the entire web. It iteratively updates authority and hub scores through a process of mutual recursion: a good hub points to many good authorities, and a good authority is pointed to by many good hubs. After convergence, the top-ranked authorities and hubs are returned, making HITS particularly effective for identifying high-quality resources within a specific topic domain.
Key Characteristics of HITS
The HITS algorithm, developed by Jon Kleinberg, is a foundational link analysis method that models the web as a directed graph to identify two distinct types of important nodes: authoritative sources of information and hub pages that serve as curated directories linking to them.
Mutual Reinforcement Principle
The core logic of HITS is a mutually reinforcing relationship between hubs and authorities. A good hub points to many good authorities, and a good authority is pointed to by many good hubs. This creates a recursive definition where the quality of one node type depends directly on the quality of the other. The algorithm iteratively updates hub and authority scores until convergence, effectively capturing the latent semantic structure of the web graph without requiring a query-independent global ranking.
Query-Dependent Calculation
Unlike PageRank, which computes a single global importance score for every page offline, HITS is a query-time algorithm. It first constructs a focused subgraph by collecting a root set of pages matching the query and expanding it with their immediate neighbors. Authority and hub scores are then calculated exclusively within this local neighborhood. This makes HITS highly specific to the query topic but computationally expensive to run at scale for every search request.
Topic Drift Vulnerability
A significant limitation of HITS is topic drift, where the expanded subgraph inadvertently includes pages that are popular but off-topic. If a highly connected page about a different subject is included in the neighborhood, its strong link structure can dominate the iterative calculation, causing the top-ranked authorities to drift away from the original query intent. This phenomenon is a direct consequence of the local graph expansion step and requires careful filtering to mitigate.
Tightly-Knit Community Effect
The algorithm is susceptible to the Tightly-Knit Community (TKC) effect, where a small, densely interlinked cluster of pages on a subtopic can monopolize the top authority scores, even if they represent a minority viewpoint. Because the cluster's internal links create a strong mutual reinforcement loop, it can outscore more globally relevant but less densely connected authorities. This is a structural bias inherent to the eigenvector-based calculation within a local graph.
Adjacency Matrix Decomposition
Mathematically, HITS is an eigenvector calculation on the adjacency matrix of the focused subgraph. The authority scores converge to the principal eigenvector of the matrix AᵀA, where A is the adjacency matrix, while the hub scores converge to the principal eigenvector of AAᵀ. This formulation reveals that authorities are the most referenced pages within the dominant theme of the local link structure, and hubs are the pages that reference them most comprehensively.
HITS vs. PageRank: Key Differences
A structural comparison of the two foundational link analysis algorithms, highlighting their computational models, outputs, and query-time behavior.
| Feature | HITS | PageRank | EigenTrust |
|---|---|---|---|
Primary Output | Two scores: Authority & Hub | Single score: Importance | Single score: Global Trust |
Query Dependency | Query-dependent (dynamic) | Query-independent (static) | Query-independent (static) |
Computational Scope | Local subgraph around query | Global web graph | Global peer network |
Graph Type | Directed bipartite approximation | Directed web graph | Directed trust graph |
Core Mechanism | Mutual reinforcement between hubs & authorities | Random surfer model with teleportation | Transitive trust with pre-trusted seeds |
Convergence Stability | Sensitive to initial subgraph | Stable; unique solution guaranteed | Stable; unique solution guaranteed |
Spam Resistance | Low; susceptible to tightly-knit communities | Moderate; dampened by teleportation | High; trust propagates from honest seeds |
Precomputation Feasibility | No; computed at query time | Yes; precomputed offline | Yes; precomputed offline |
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the Hyperlink-Induced Topic Search algorithm, its mechanics, and its role in modern information retrieval.
The Hyperlink-Induced Topic Search (HITS) algorithm is a link analysis algorithm that rates web pages by identifying two distinct types of nodes: authorities and hubs. It operates on the principle that a good authority is a page linked to by many good hubs, and a good hub is a page that links to many good authorities. The algorithm executes iteratively: it starts with a root set of pages from a search query, expands this to a base set by including incoming and outgoing neighbors, and then computes authority and hub scores through a mutually reinforcing update process. In each iteration, a page's authority score is the sum of the hub scores of pages linking to it, and its hub score is the sum of the authority scores of pages it links to. Scores are normalized after each step, and the process converges to the principal eigenvector of the adjacency matrix, producing stable, query-dependent rankings.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the foundational algorithms and concepts that form the basis of link analysis and trust propagation, directly related to the HITS authority-hub model.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us