HITS Algorithm: Hyperlink Induced Topic Search for Identifying Hubs and Authorities

Hubs and Authorities in Social Network Analysis Using HITS Algorithm  Combined with Sentiment Score | Springer Nature Link

Keyword search alone cannot explain why one page becomes a trusted reference while another, using similar terms, is ignored. In many systems the answer is in the link graph: who points to whom, and which pages act as directories. The HITS algorithm, short for Hyperlink Induced Topic Search, uses this structure to compute two scores for every node in a network: an authority score and a hub score. If you are studying graph ranking methods in a data science course in Hyderabad, HITS is one of the clearest ways to see how links can encode trust and guidance beyond text.

Why HITS separates hubs from authorities

Influence comes in different forms. An official specification may be heavily cited but contain few outbound links. A well-maintained resources page may link to many strong references yet receive fewer inbound citations. Treating both as “important” in the same way can blur their roles.

HITS therefore defines:

  • Authorities: nodes that many good hubs point to.
  • Hubs: nodes that point to many good authorities.

These definitions reinforce each other. A hub is valuable because it endorses credible pages. An authority is valuable because credible hubs endorse it.

The update rules in simple terms

Assume you have a directed graph. If page A links to page B, draw an edge A → B. HITS assigns each page two numbers: hub(h) and authority(a). The algorithm is iterative:

  1. Initialise all hub and authority scores to 1.
  2. Update authorities: set each page’s authority to the sum of hub scores of pages that link to it.
  3. Update hubs: set each page’s hub score to the sum of authority scores of pages it links to.
  4. Normalise both score vectors (for example, scale so the total squared score equals 1).
  5. Repeat until the values stabilise.

Normalisation matters because repeated summation would otherwise make scores grow without bound. Many implementations stop after a fixed number of iterations (often 20–50) or when changes between iterations fall below a threshold. For exercises in a data science course in Hyderabad, the iteration count is easy to experiment with.

A quick intuition check helps. If an “index” page links to several authoritative pages, it becomes a strong hub. Those authoritative pages then gain authority because they receive links from a strong hub. Over iterations, the network’s consistent endorsement patterns rise to the top.

Query-focused ranking: building the base set

HITS is commonly run on a topic-focused subgraph rather than a web-scale graph. The standard workflow is:

  • Build a root set of pages that match the query by content or metadata.
  • Expand to a base set by adding pages that link to the root set and pages the root set links to.
  • Run HITS on the base set and output the top authorities (answers) and hubs (navigational pages).

This query-time design makes HITS topic aware: a page can be authoritative for one subject and irrelevant for another, and the base set constrains the ranking to the most relevant neighbourhood.

Practical pitfalls and fixes

  • Topic drift: expansion can pull in popular but off-topic nodes. Limit expansion depth, cap neighbours, or filter by content similarity.
  • Boilerplate links: menus and footers create repeated edges. Remove template links or prioritise in-content links.
  • Dense communities: tightly connected groups can inflate each other. Add cluster checks, domain caps, or blend link scores with content relevance.

Hands-on graph cleaning like this is often the most instructive part of implementing HITS, including in coursework projects within a data science course in Hyderabad.

HITS versus PageRank and where it fits

HITS is often compared with PageRank, but the outputs differ. PageRank produces one global “importance” score and is typically computed across an entire graph. HITS produces two scores (hub and authority) and is usually applied to a query-specific base set. Because hub and authority reinforce each other, HITS can be more sensitive to small dense communities, which is why the hygiene steps above matter.

Where HITS still fits well is in link-rich collections where curation matters. In documentation, hub pages often look like onboarding guides or “start here” indexes, while authority pages look like canonical references. In citation graphs, survey papers may behave like hubs and foundational papers like authorities.

Concluding note

HITS is a compact algorithm with a clear lesson: credibility and curation are different roles, and both can be learned from link structure. By iteratively reinforcing hubs and authorities, it surfaces trustworthy sources and the guides that reliably point to them. If you choose a topic-relevant base set, reduce boilerplate noise, and watch for dense-manipulated clusters, HITS becomes a practical ranking tool and a strong learning exercise for anyone taking a data science course in Hyderabad.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *