Human-Guided Complexity-Controlled Abstractions

Andi Peng, Mycal Tucker, Eoin M. Kenny, Noga Zaslavsky, Pulkit Agrawal, Julie Shah

Abstract

Neural networks often struggle to generalize to new tasks when data is scarce, partly because their internal representations are fixed at a specific level of complexity. We present a human-in-the-loop framework that allows users to select optimal representational abstractions from a spectrum of models trained with varying complexity. By utilizing a novel architecture, VQ-VIB_C, and entropy regularization, we demonstrate that human intuition can effectively identify the "Goldilocks" level of abstraction, significantly improving few-shot finetuning performance across multiple image classification benchmarks.

Introduction

Standard neural networks typically learn high-dimensional, implicit representations optimized for a single training objective. While powerful, these representations often lack the flexibility to adapt to novel tasks, particularly in low-data regimes. Humans, by contrast, effortlessly navigate different levels of abstraction. An expert ornithologist might distinguish between a "Yellow Warbler" and a "Goldfinch" (high complexity), whereas a child might simply categorize both as "yellow birds" (low complexity).

The challenge in machine learning is that a representation that is too complex for a simple task becomes data-inefficient, while one that is too simple may discard critical information. Finding the optimal level of complexity a priori remains a significant hurdle. This paper addresses this by providing a mechanism to generate a range of abstractions and allowing human guidance to select the most appropriate one for a given downstream task.

Methodology

The proposed framework relies on three core components: a specialized architecture, a specific regularization technique, and a human-centric selection process.

VQ-VIB_C Architecture

The authors introduce the Vector-Quantized Variational Information Bottleneck - Categorical (VQ-VIB_C). This model maps high-dimensional inputs into a discrete set of "prototypes" using vector quantization. By combining this with a variational information bottleneck, the model learns a compressed, discrete latent space.

Entropy Regularization

To control the complexity of the learned abstractions, the framework employs entropy regularization. Unlike standard methods that penalize the total bit-count, VQ-VIB_C penalizes the entropy of the distribution over prototypes. By adjusting the strength of this penalty, the model is incentivized to collapse similar inputs into fewer, more general prototypes. This allows for the creation of a spectrum of models ranging from highly granular to highly abstract.

The human-in-the-loop framework illustrating pre-training across a complexity spectrum and human-guided selection for finetuning.

Human-in-the-Loop Selection

During the finetuning phase, the system visualizes the learned prototypes for the human user. These visualizations consist of images from the training set that are closest to the cluster centers in the latent space. The human user, leveraging their domain knowledge and intuition, selects the model whose internal "concepts" best align with the requirements of the new task.

Experimental Evaluation

The framework was evaluated on three datasets modified to test hierarchical abstraction:

  • FashionMNIST: Grouped into broad categories (e.g., tops, shoes) for finetuning.
  • CIFAR100: Evaluated on both a coarse "living vs. non-living" task and a more granular 20-way classification.
  • iNaturalist 2019: A large-scale dataset used for tasks ranging from 3-way (kingdom-level) to 1010-way species classification.

Results and Key Insights

The experiments revealed several critical findings regarding the nature of representational complexity and the value of human guidance.

The Non-Monotonicity of Performance

A key observation is that finetuning performance is non-monotonic with respect to model complexity. As complexity increases (indicated by lower Mean Squared Error in reconstruction), accuracy typically follows a "peaked" curve. Models that are too simple lack discriminative power, while those that are too complex require excessive data to train effectively. VQ-VIB_C effectively captures this "Goldilocks" zone.

Visualizations of high vs. low complexity latent spaces (a, b) and the corresponding peaked performance curve for finetuning accuracy (c).

Human Intuition vs. Automated Heuristics

In few-shot scenarios (e.g., 1 example per class), traditional automated selection methods like validation-set accuracy are often too noisy to be reliable. However, the human study showed that users could accurately identify the optimal model 55% of the time by viewing prototype images, compared to only 10% when relying on complexity metrics like MSE.

Few-Shot Efficiency

VQ-VIB_C consistently outperformed baseline methods such as beta-VAE. Notably, in certain tasks, a human-selected VQ-VIB_C model achieved higher accuracy with a single example per class than baseline models achieved with 50 examples, highlighting the power of appropriate abstraction in data-scarce environments.

Conclusion and Future Work

This research demonstrates that providing humans with the tools to select representational complexity can dramatically improve AI performance in few-shot learning. While discrete abstractions are highly effective when data is limited, continuous models eventually regain the advantage as more data becomes available and finer nuances become learnable.

Future work will explore architectures capable of representing multiple levels of abstraction simultaneously and developing more advanced visualization tools for complex, high-dimensional datasets like iNaturalist.

Summary updated

BibTeX
@inproceedings{peng2023human,
  author = {Andi Peng and Mycal Tucker and Eoin M. Kenny and Noga Zaslavsky and Pulkit Agrawal and Julie Shah},
  title = {{Human-Guided Complexity-Controlled Abstractions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=tSEeRl7ACo},
}
Figure