Back to projects

Hierarchical Classifier

Classifying information within flexible taxonomies using vector search

January–August 2024 · Research internship · Code and demo available

Demo

Watch on YouTube (opens in a new tab)

Overview

During my AI research internship at Utah Tech University, I implemented hierarchical classification using vector embeddings and similarity search. The project combines a taxonomy import pipeline, a PostgreSQL database, and a FastAPI service for classifying inputs within a selected hierarchy.

Role: AI Research Intern

Project artifact showing a vector-field projection in a development workspace
Open project image at full size (opens in a new tab)

Technical Stack

Notable Features & Challenges

  • Import transformers for hierarchical data represented by nodes, parents, and descriptions
  • Semantic embeddings and similarity search for taxonomy classification
  • An API for selecting the classification hierarchy
  • Performance profiling and analysis of classification results

Outcome & Status

The project README documents a historical peak of 49.5 requests per second using seven t3.micro application instances and text-embedding-3-large. The repository includes profiling results and classification analysis alongside the implementation.

Historical profiling results (opens in a new tab)
View Code (opens in a new tab)