• Home
  • Categories
  • Tags
  • Pricing
  • Submit
    Decorative pattern
    1. Home
    2. Concepts & Definitions
    3. TreeAH

    TreeAH

    Vector index type based on Google's ScaNN algorithm combining tree-like structure with Asymmetric Hashing quantization, optimized for batch queries with 10x faster index generation and smaller memory footprint.

    🌐Visit Website

    About this tool

    Overview

    The TreeAH index is based on Google's ScaNN (Scalable Nearest Neighbors) algorithm, which is used in a multitude of Google services for similarity search. The TreeAH index type is named for its combination of a tree-like structure and its use of Asymmetric Hashing (AH), a core quantization technique from the underlying ScaNN algorithm.

    Asymmetric Hashing (AH)

    The main difference with the IVF index is the use of asymmetric hashing (the "AH" in TreeAH), which uses product quantization to compress embeddings. The "asymmetric" aspect refers to the fact that:

    • The query vector is kept in its full-precision form
    • The database vectors are compared in their compressed, quantized form

    How TreeAH Works

    Compression

    The vectors are compressed with product quantization, a technique that reduces their memory usage. The compressed vectors are then stored in the index tables instead of the original vectors, thus reducing vector index sizes.

    Search Process

    When the VECTOR_SEARCH or AI.SEARCH function runs:

    1. A candidate list for each query vector is efficiently computed using asymmetric hashing
    2. Hardware-optimized approximate distance calculations are performed
    3. Candidates are re-scored and re-ranked using exact embeddings

    Performance Benefits

    Coupled with a CPU-optimized distance computation algorithm, vector search using TreeAH can be:

    • Orders of magnitude faster than IVF
    • More cost-efficient
    • 10x faster index generation
    • Smaller memory footprint (only compressed embeddings stored)

    Optimization

    The TreeAH algorithm is optimized for batch queries that process hundreds or more query vectors.

    Pricing

    Available as part of Google Cloud BigQuery and Vertex AI services.

    Surveys

    Loading more......

    Information

    Websitecloud.google.com
    PublishedMar 13, 2026

    Categories

    1 Item
    Concepts & Definitions

    Tags

    3 Items
    #Indexing#Quantization#Google

    Similar Products

    6 result(s)
    IVF-PQ (Inverted File with Product Quantization)

    Vector indexing method combining inverted file index with product quantization for memory-efficient search. Reduces storage from 128x4 bytes to 32x1 bytes (1/16th) while maintaining search quality.

    Vector Index Comparison Guide (Flat, HNSW, IVF)
    Featured

    Comprehensive comparison of vector indexing strategies including Flat, HNSW, and IVF approaches. Covers performance characteristics, memory requirements, and use case recommendations for 2026.

    Ball-Tree

    Tree-based spatial data structure organizing vectors using spherical regions instead of axis-aligned splits, making it better suited for high-dimensional data compared to KD-trees.

    Binary Quantization

    Extreme vector compression technique converting each dimension to a single bit (0 or 1), achieving 32x memory reduction and enabling ultra-fast Hamming distance calculations with acceptable accuracy trade-offs.

    IVF-FLAT

    Inverted File index with FLAT (uncompressed) vectors, partitioning the vector space into clusters with centroids, offering a balance between search speed and accuracy for approximate nearest neighbor search.

    KD-Tree

    Tree-based data structure for organizing vectors through recursive axis-aligned partitioning, enabling logarithmic time complexity searches for balanced data but struggling with high-dimensional spaces.

    Decorative pattern
    Built with
    Ever Works
    Ever Works

    Connect with us

    Stay Updated

    Get the latest updates and exclusive content delivered to your inbox.

    Product

    • Categories
    • Tags
    • Pricing
    • Help

    Clients

    • Sign In
    • Register
    • Forgot password?

    Company

    • About Us
    • Admin
    • Sitemap

    Resources

    • Blog
    • Submit
    • API Documentation
    All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this repository, related repositories, and associated websites are for identification purposes only. The use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. This directory may include content generated by artificial intelligence.
    Copyright © 2025 Awesome Vector Databases. All rights reserved.·Terms of Service·Privacy Policy·Cookies