Kallin Carolus Khan

Research

Most of my research is about making machine learning practical when memory, training time, or messy data get in the way. Much of that work uses extreme learning machines (ELMs): neural networks with a random hidden layer that stays fixed, and an output layer learned by solving a linear system.

The papers below cover small models for constrained devices, object detection, and ways to combine learners. My more recent work looks at the context we give LLM agents. You can find my publications on Google Scholar.

First-author papers

ELM 2021 · Published 2023First author

A novel methodology for object detection in highly cluttered images

Kallin Carolus Khan, Edward Ratner, Christopher Douglas, Amaury Lendasse

Finding an object in a crowded image means working out both where it is and what it is. This paper brings those tasks together in a pipeline for scenes where objects are difficult to distinguish from their surroundings.

We combine features from a pretrained model with partial least squares to reduce their dimensionality, a new localization method to find objects, and an ensemble of extreme learning machines to classify them. In the paper’s evaluation, the method outperformed Google’s AutoML Vision. The focus is on making detection work in cluttered scenes, where recognizing a neatly isolated object is only part of the problem.

Read paper

IJCNN · 2020First author

Feature bagging and extreme learning machines: machine learning with severe memory constraints

Kallin Khan, Edward Ratner, Robert Ludwig, Amaury Lendasse

How do you make machine learning useful on a device with very little memory? This paper explores that constraint directly, using small ensembles instead of assuming there is room for a large model.

Our method, Feature Bagged Extreme Learning Machines (FB-ELMs), combines ELMs that work with subsets of the input features. Feature bagging limits what each model needs to handle, while the ensemble combines their predictions. The paper demonstrates this approach for devices with tight flash-storage and RAM budgets, maintaining accuracy in the experiments. It is aimed at embedded systems, where memory is a hard constraint rather than something you can simply add more of.

Read paper

Other papers

Proceedings of ELM 2018

A novel ELM ensemble for time series prediction

Zhen Li, Karl Ratner, Edward Ratner, Kallin Khan, Kaj-Mikael Bjork, Amaury Lendasse

An adaptive ensemble of extreme learning machines for forecasting, evaluated on 72 artificial and real time series from the CIF 2016 competition.

Read paper

In progress

Usage-based context seeding for LLM agents

Manuscript in preparation

At Synopsis, I’ve been working on how to give an LLM agent the database context it needs without sending the entire schema. This work uses patterns in which tables are used most often to choose the agent’s starting context, with the aim of keeping answers useful while reducing the cost of each request.

Try an ELM ensemble

This small demo shows the idea behind an ensemble: train several different models and combine their predictions. Each grey curve is an ELM; the blue curve averages them. Everything runs in your browser.

Click to add a point, or click a point to remove it. Each grey line is one machine; the blue line is the ensemble’s average.

Try one machine, then add more. Reroll their random hidden layers to see how the individual fits change. This illustrates the basics of ELMs and averaging; the papers above develop more specialized methods.

Patent applications