---
title: "Prototype selection for interpretable classification — Bien 2011"
description: "How prototype selection uses set cover to choose representative examples, explain classification decisions, and balance coverage with…"
canonical: "https://research.elamur.ai/free/en/papers/bien-2011-prototype-selection-interpretable-classification/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bien-2011-prototype-selection-interpretable-classification/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2011](https://md.research.elamur.ai/free/en/papers/2011/) / Prototype selection for interpretable classification

# Prototype selection for interpretable classification

Paper · 2011 · Jacob Bien and Robert John Tibshirani

**Authors:** Jacob Bien and Robert John Tibshirani · **Year:** 2011 · **Venue:** The Annals of Applied Statistics · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**245** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2084701050|W7095232437) · The Annals of Applied Statistics · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1214/11-aoas495](https://doi.org/10.1214/11-aoas495)
- [arXiv 1202.5933](https://arxiv.org/abs/1202.5933)
- [OpenAlex](https://openalex.org/W2084701050)

## Deep dive: Prototype selection for interpretable classification

How prototype selection uses set cover to choose representative examples, explain classification decisions, and balance coverage with compactness. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A large collection of labeled examples can be difficult to understand even when its individual entries are familiar. Looking through every handwritten digit or protein sequence may reveal less than examining a carefully chosen selection. Bien and Tibshirani study how to choose that selection: a compact collection of actual examples that preserves important variation within each class while avoiding examples easily confused with other classes. Their central concern is [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/). They want a domain specialist to learn something useful about a dataset by inspecting its representatives.

The paper approaches this problem through sparsity in examples. Rather than retaining fewer input variables, it retains fewer observations. A useful representative should be near many observations from its own class, distant from observations belonging to other classes, and worth the space it occupies in the final collection. The authors turn these preferences into an optimization problem based on set cover. Around every possible representative, they place a neighborhood of fixed radius. Selecting a representative earns credit for covering previously unrepresented observations of the intended class, incurs penalties for covering observations from other classes, and adds a small cost for expanding the collection. Some observations may remain uncovered when representing them would create too much confusion.

The resulting method, called prototype selection or PS in the experiments, supports both inspection and classification. Its prototypes typically come directly from the observed data, so a handwritten-digit prototype remains an individual handwritten image rather than an average. A new observation receives the class of its nearest prototype. The selection procedure accepts pairwise dissimilarities, allowing the same framework to work with image-specific distances or similarities between protein sequences. The optimization is difficult to solve exactly, so the authors describe approximate solutions through linear programming with randomized rounding and through a greedy procedure. They prefer the greedy procedure for its practical simplicity and the useful ordering it gives the selected examples.

The experiments support a measured conclusion. On handwritten digits, the method produces recognizable representatives and automatically allocates more of them to classes with greater variation. With tangent distance, its lowest reported test error is 2.49%, using 3,372 prototypes, while retaining the complete training collection for nearest-neighbor classification gives 3.09%. The authors explicitly warn that choosing the lowest point on a test-error curve yields an optimistic performance estimate. In protein classification, the smallest cross-validated error is 1.76%, matching the best support-vector-machine result reported with the same kernel. Across the other datasets, no method wins consistently. The contribution is therefore a clear way to construct and inspect representative examples, accompanied by evidence that the resulting classifier can remain useful.

### Ideas worth borrowing

Choose examples as the explanatory units. An explanation can become easier to inspect when its basic objects are things a specialist already understands. A selected image can be viewed; an observed sequence can be examined; a patient record, in the application the authors envisage, would remain a recognizable case. This is a different route to simplicity from reducing the number of measured variables. It applies wherever the original observations carry meaning that an average or an abstract combination would obscure. The important design decision is to preserve that meaning while reducing the amount a person must review.

Make representativeness depend on competing classes. An example can sit near many members of its own class and still make a poor representative if it also resembles many observations with different labels. The paper treats this conflict explicitly. Its selection criterion rewards useful coverage and charges for coverage across class boundaries. This idea can be reused when building labeled example galleries, selecting cases for expert review, or constructing compact reference collections. A representative should communicate what distinguishes a category as well as what is common inside it.

Allow omission when coverage would mislead. Ordinary set cover insists on representing every required item. Here, the authors permit some observations to remain outside the selected neighborhoods, paying a penalty for the omission. This makes ambiguity visible in the optimization rather than forcing the selection of a confusing representative. The same principle is useful in a summary that must remain understandable: exhaustive inclusion can work against clarity when unusual or overlapping cases demand disproportionate attention. Omission should remain inspectable, because an uncovered observation has been left out by a particular objective, not established to be unimportant.

Use a shared scale to reveal internal variety. A fixed neighborhood radius gives coverage a common meaning across classes. A broad class may require several representatives even if it occupies a region containing few competing labels. A concentrated class may need fewer. This makes the allocation of prototypes informative in its own right. The digit experiment illustrates the point through the very different numbers needed for different handwritten characters. Elsewhere, the same design could help expose categories that contain several distinct forms. The interpretation must always remain tied to the chosen dissimilarity and radius.

Separate the dissimilarity from the selection rule. The selection machinery needs to know which observations lie near each candidate; it does not need every observation to be a conventional numeric vector. This separation allows domain knowledge to enter through a suitable comparison function. In the paper, tangent distance changes which digit variations count as important, while a mismatch kernel supplies comparisons between protein sequences. The reusable lesson is architectural: preserve a stable selection objective while allowing the definition of similarity to reflect the application.

Keep the order and contribution of each selection. The greedy procedure produces more than an unordered collection. Every selected example has a place in the sequence and an immediate contribution: how much new correct-class coverage it adds and how much competing-class coverage it creates. These quantities help distinguish broad representatives from late additions serving isolated observations. They also support displays that show influence alongside appearance. A compact review interface could use this ordering to introduce major forms first, then reveal increasingly specific cases without presenting every prototype as equally informative.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the paper suggests an approach to choosing inspectable examples. The concrete connection is between prototype selection and a language system that explains its decisions through identifiable linguistic instances. The paper does not establish that Mova already contains such a selector. The applications described here are possibilities for its design, rather than claims about implemented features.

A plausible use would be to select representative examples from a labeled collection of linguistic cases. The labels would have to belong to a defined task, and Mova would need a dissimilarity that makes sense for that task. The selector could then choose examples that cover substantial variation within each label while avoiding examples too close to competing labels. The output would be a small reference collection whose members remain readable language examples. That preserves the paper’s central interpretive advantage: the representative is an actual observation that a person can inspect.

The distinction between representation and selection matters. Prototype selection cannot decide on its own what makes linguistic instances similar. If the comparison function ignores a difference important to the task, the selected examples may also conceal it. Conversely, a comparison function dominated by irrelevant surface differences could produce a large collection that fails to explain the categories. For Mova, an application would therefore need to make both parts visible: the rule used to compare examples and the rule used to choose representatives.

The greedy procedure offers a particularly concrete explanation format. Alongside a selected language example, Mova could show the observations newly represented by that example and the competing labels found in its neighborhood. A person could inspect whether the apparent coverage reflects the intended linguistic distinction. This would turn the selected collection into an audit aid as well as a reference set. The numerical gain would explain the selector’s choice, while the underlying examples would let the reader assess whether that choice is meaningful.

Another possible use concerns coverage gaps. An example omitted by the optimization need not disappear from view. Mova could retain its status as uncovered and distinguish it from examples represented by an existing prototype. Such a display would be faithful to the paper’s objective, which permits incomplete coverage rather than requiring every observation to have a nearby same-class representative. In a language application, these omissions could prompt inspection of rare constructions, overlapping labels, or a comparison rule that needs revision. They would not, on their own, establish which of those explanations is correct.

A fixed radius could also provide a way to inspect variation across linguistic categories. If the same comparison scale applies throughout the collection, categories requiring more prototypes would be more varied according to that scale. This could guide exploration of a dataset. It should not be presented as an unconditional measure of linguistic complexity: the paper’s own reasoning ties the allocation to neighborhood geometry, and a language application would inherit that dependence.

The nearest-prototype classification rule would be an additional possibility. A decision could point to the observed example closest to the input, making the immediate basis of classification available for inspection. However, this would require a separate evaluation in Mova’s setting. The experiments concern digits, protein sequences, and the other classification datasets described by the authors. They do not establish performance for language analysis. The strongest transferable contribution is a transparent procedure for selecting and organizing examples, with classification as an application that would need its own evidence.

### The problem and its context

#### A smaller collection that still teaches something

The paper begins from a tension in statistical practice. Combining many observations can be useful for prediction, yet a combination may be difficult for a person to interpret. A domain specialist facing a large dataset often needs a few meaningful cases that reveal its structure. The challenge is to make the smaller collection informative without requiring that specialist to inspect everything first.

A prototype is a representative selected for this purpose. In the main setting, it is an existing observation, accompanied by a class assignment. The collection of prototypes should communicate the important forms found within each class and distinguish them from forms associated with other classes. A compact collection that shows only the most common appearance may hide meaningful variation. A collection crowded with ambiguous boundary cases may also give a misleading impression.

The handwritten-digit example makes these requirements concrete. Different people write the same digit in different ways. The authors discuss variations in the appearance of a handwritten 7, including the presence or absence of a serif. A useful collection should preserve such variation while avoiding examples of 7 that resemble 1 too closely. The goal is therefore richer than finding a central image for each digit.

This is a supervised problem because the observations already have labels. The selector can use those labels to distinguish variation worth representing from proximity to a competing category. That information changes what counts as representative. A point that summarizes a dense region without regard to labels may perform poorly as an example of a particular class.

#### Sparsity in observations

The authors contrast their objective with approaches that simplify prediction by selecting variables. For a digit image, variable selection would concern the pixels retained for analysis. Prototype selection concerns which images remain. Both reduce something, but the resulting explanations answer different questions.

Selecting variables asks which measurements matter. Selecting observations asks which cases convey the structure of the collection. The latter is useful when individual observations are naturally understandable objects. A handwritten image can show a recognizable style directly. An arbitrary weighted combination of many images may preserve useful numerical information while making that style harder to see.

The paper places its task within condensation: replacing a training collection with a smaller collection that can stand in for it. However, it does not define success solely by the speed or accuracy of the resulting classifier. Its priority is whether the selected examples help a person understand the data.

Classification still provides an important check. If a selection meant to summarize labeled observations produces unreasonable predictions, that would raise questions about what it preserves. The authors therefore use nearest-prototype classification to quantify performance, while keeping its interpretive purpose distinct from the pursuit of the lowest possible error.

#### Earlier covering approaches

The closest connection identified by the authors is to Class Cover Catch Digraphs. That approach builds a directed graph within each class. An edge indicates that a neighborhood centered on one observation contains another. Selecting nodes that reach the remaining class members corresponds to selecting neighborhoods that cover the class.

The important difference concerns neighborhood size. In the earlier approach, a neighborhood can expand according to the surrounding observations from other classes. A large homogeneous region can consequently receive a large covering ball. Bien and Tibshirani instead use a common radius.

Their reason is interpretive. A region may contain only one class while still containing substantial variation within that class. Covering it with a single large ball may be sufficient for a classification-oriented representation, yet fail to show that variation. A fixed radius makes the selector retain additional examples when the observations spread apart, even without nearby competing classes.

The authors also connect their formulation to the set covering machine. That earlier method selects a compact collection of binary functions and combines them through a logical rule. A ball around a candidate can serve as one such binary function: an observation either lies inside it or does not.

With suitable choices of these functions, the optimization problems become closely related. The interpretation and final prediction rule differ. The set covering machine seeks a compact logical expression, while this paper seeks a collection of examples. Once those examples have been selected, nearest-prototype classification is a natural way to use them.

#### Condensation, clustering, and movable prototypes

Earlier condensation methods include approaches aimed at finding a small subset that preserves correct classification of the training observations. The paper emphasizes a tendency of these methods to keep examples near class boundaries. Such examples can be important for defining a decision boundary, but they need not be the clearest illustrations of what a class usually contains.

The proposed objective favors observations in relatively homogeneous neighborhoods. This exposes a difference between two legitimate aims: retaining cases that support classification and retaining cases that support understanding. The authors do not claim that earlier instance-selection methods could never assist interpretation. They argue that interpretive usefulness should influence the objective directly.

The paper also compares its approach with clustering performed separately inside each class. K-medoids selects observed examples, preserving the advantage that each representative is a real case. K-means produces centers that need not be observed cases. Both can summarize within-class structure, but fitting each class independently means they do not use competing classes when choosing those representatives.

Learning vector quantization supplies another comparison. Its prototypes move during fitting in response to labeled observations, tending towards examples from their intended class and away from others. This flexibility can help classification. It also means that a prototype may no longer correspond to an original observation.

The authors frame these differences as practical tradeoffs. A synthetic center can be useful numerically, while an observed example can be easier to interpret. A boundary case can be valuable for prediction, while a clear interior case can teach a specialist more about a category. Their contribution is an objective that makes their preferred balance explicit.

### The method, step by step

#### Establish the objects and the meaning of distance

The input consists of observations and their class labels. The paper writes the training collection as:

```
X = {x₁, …, xₙ} ⊂ 𝒳
```

Here, X is the observed collection, xᵢ is its ith observation, n is the number of observations, and 𝒳 is the space in which observations can occur. That space need not be a conventional Euclidean feature space.

Each observation has a label:

```
yᵢ ∈ {1, …, L}
```

The symbol yᵢ denotes the class attached to xᵢ, and L is the number of classes. For every class l, the output is a prototype collection Pₗ.

In the basic setting, candidates are the training observations themselves. More generally, the paper permits a separate finite candidate collection:

```
Z = {z₁, …, zₘ}
```

Z is the set from which prototypes may be chosen, zⱼ is a candidate, and m is the number of candidates. Taking Z equal to X recovers selection directly from the labeled training collection.

The procedure uses a dissimilarity d. A smaller value means that the observations are closer under the application’s comparison rule. The authors do not require d to satisfy all metric properties, including the triangle inequality. The covering machinery only needs the neighborhood membership that d induces.

From labeled observations to inspectable prototypes The steps in order.

#### Turn proximity into candidate neighborhoods

A radius determines which training observations a candidate can represent:

```
B(zⱼ) = {x ∈ 𝒳 : d(x, zⱼ) < ε}
```

B(zⱼ) is the neighborhood centered at candidate zⱼ. The symbol x denotes an observation being compared with that candidate, d is the dissimilarity, and ε is the positive radius. The strict inequality specifies membership.

Once ε is fixed, each candidate corresponds to a definite set of covered observations. This converts a geometric description into a selection problem over sets. Selecting a candidate means selecting its neighborhood.

In ordinary set cover, the goal would be to select the fewest neighborhoods that collectively contain every required observation. The paper introduces an indicator for each candidate: αⱼ is active when that candidate is selected and inactive otherwise. In the basic setting, the ordinary covering objective is:

```
minimize ∑ⱼ₌₁ⁿ αⱼ
```

The sum counts selected candidates, with n denoting the number of available training observations. Minimizing it seeks the smallest collection of covering neighborhoods.

Every observation must satisfy a coverage requirement:

```
∑ⱼ: xᵢ ∈ B(xⱼ) αⱼ ≥ 1
```

For a particular observation xᵢ, the sum runs over candidates xⱼ whose neighborhoods contain it. The inequality requires at least one selected candidate among them. Each αⱼ must be binary, so the optimization makes discrete selection decisions.

This ordinary formulation captures compactness and coverage, but it ignores class labels. A neighborhood could cover many observations while mixing categories heavily. Classification requires a more selective objective.

#### Distinguish missing coverage from confusing coverage

The authors introduce a selection variable for each candidate–class combination. The variable αⱼ⁽ˡ⁾ records whether candidate zⱼ is chosen as a prototype for class l. This notation separates the candidate’s location from the class role assigned to it by the optimization.

They also introduce two slack variables for each training observation. The first, ξᵢ, permits an observation to lack a nearby prototype of its own class. The second, ηᵢ, permits coverage by prototypes assigned to other classes.

The objective is:

```
minimize ∑ᵢ ξᵢ + ∑ᵢ ηᵢ + λ∑ⱼ,ₗ αⱼ⁽ˡ⁾
```

The first sum penalizes missing correct-class coverage. The second penalizes coverage by competing classes. The last term penalizes the size of the selected collection. The parameter λ is the cost attached to each prototype, and the indices i, j, and l range over training observations, candidates, and classes respectively.

Correct-class coverage is enforced through:

```
∑ⱼ: xᵢ ∈ B(zⱼ) αⱼ⁽ʸⁱ⁾ ≥ 1 − ξᵢ
```

The superscript yᵢ selects prototypes assigned to the actual class of observation xᵢ. If none of their neighborhoods contains xᵢ, the slack ξᵢ must absorb the missing coverage. Since the objective penalizes ξᵢ, the optimization avoids that omission when doing so is worthwhile.

Coverage by competing classes is handled separately:

```
∑ₗ ≠ yᵢ ∑ⱼ: xᵢ ∈ B(zⱼ) αⱼ⁽ˡ⁾ ≤ ηᵢ
```

The outer sum ranges over classes different from yᵢ. The inner sum counts selected prototypes of each such class whose neighborhoods contain xᵢ. The variable ηᵢ must be large enough to accommodate that count.

The distinction between these penalties is important. Missing correct coverage is charged for the observation left unrepresented. Incorrect coverage is charged repeatedly when several competing-class prototypes cover the same observation. A point already involved in confusion does not become free to confuse further.

The selection variables remain binary, while both slack variables are non-negative. Together, these requirements define an integer program: an optimization problem containing discrete decisions about which candidates to retain.

#### Understand the role of the prototype cost

The authors generally use:

```
λ = 1/n
```

Here, λ is the cost of selecting a prototype and n is the number of training observations. Their intention is to make compactness a comparatively small preference when choosing among collections with similar coverage behavior.

The radius is then the main tuning parameter. A smaller neighborhood represents less territory, so more candidates may be needed to cover the same observations. A larger neighborhood can cover more observations but may also reach competing classes.

This tradeoff should not be confused with directly optimizing classification error. The objective concerns neighborhood coverage. Nearest-prototype classification depends on which prototype is closest, even when an observation falls outside all selected neighborhoods. The two criteria are related through the chosen geometry, but they are not identical.

#### Separate the optimization by class

The full formulation appears to couple all classes because each observation can be covered correctly or incorrectly. The appendix shows that the wrong-class coverage term can be reorganized into a separate cost for each candidate–class pairing:

```
Cₗ(j) = λ + |B(zⱼ) ∩ (X ∖ Xₗ)|
```

Cₗ(j) is the cost of selecting zⱼ for class l. Xₗ is the collection of training observations labeled l. The set difference X ∖ Xₗ contains observations from other classes, the intersection identifies those inside the candidate neighborhood, and the vertical bars count them.

Thus, a candidate’s cost consists of its prototype charge plus the number of competing-class observations it would cover. That cost can be determined before selecting the remaining prototypes.

For each class, the objective becomes:

```
minimize ∑ⱼ₌₁ᵐ Cₗ(j)αⱼ⁽ˡ⁾ + ∑ₓᵢ ∈ Xₗ ξᵢ
```

The first sum charges for selected candidates using their class-specific costs. The second charges for observations of class l left uncovered. The symbols m, Cₗ(j), αⱼ⁽ˡ⁾, and ξᵢ retain their earlier meanings.

Only the correct-class coverage constraints for Xₗ remain in that class’s problem. The overall task therefore separates into class-specific prize-collecting set cover problems. “Prize-collecting” means that coverage is optional at a price: leaving an observation unrepresented incurs a penalty instead of violating an absolute requirement.

The appendix establishes this separation by changing the order in which wrong-class coverage is counted. One can count, for every observation, the selected competing prototypes that cover it. Equivalently, one can count, for every selected prototype, the competing observations it covers. The latter view produces Cₗ(j).

#### Approximate the discrete solution through linear programming

Set cover is computationally difficult in general, so the authors do not expect an efficient exact solution for arbitrary inputs. Their first approximation replaces binary selection with fractional selection:

```
0 ≤ αⱼ⁽ˡ⁾ ≤ 1
```

The variable αⱼ⁽ˡ⁾ can now lie anywhere in the stated interval. This creates a linear program, which can be solved before converting its fractional values into a collection of discrete choices.

The fractional result provides a lower bound on the best integer objective. It also supplies probabilities for randomized rounding. A candidate with a larger fractional value is more likely to be retained in a rounding round. The slack variables are rounded in the same way.

The rounded selections from repeated rounds are combined by union: once a candidate has been selected, it remains selected. The paper’s rounding schedule uses:

```
t = 1, …, 2 log |Xₗ|
```

The symbol t indexes rounding rounds, log is the logarithm appearing in the approximation analysis, and |Xₗ| is the number of training observations in class l.

The procedure checks feasibility and compares the rounded objective with the linear-programming bound. If the required conditions fail, it repeats. The authors describe a logarithmic approximation guarantee for each class, following the set-cover analysis they cite.

This offers a principled route from fractional optimization to actual prototypes. Its practical drawback is the linear program itself. The authors found that solving it could demand substantial time and memory on larger collections. Their implementation used Rglpk, the R interface to the GNU Linear Programming Kit.

#### Select greedily using immediate objective improvement

The preferred procedure starts with no prototypes and repeatedly asks which addition most improves the objective. The benefit of a candidate is the number of its same-class neighbors that are not already covered:

```
Δξ(zⱼ, l) = |Xₗ ∩ (B(zⱼ) ∖ ⋃z ∈ Pₗ B(z))|
```

The symbol Δξ(zⱼ, l) denotes newly obtained coverage for class l. B(zⱼ) is the candidate neighborhood, Pₗ is the current prototype collection for that class, and the union contains observations already covered by those prototypes. Subtracting that union prevents repeated credit for the same correct-class coverage.

The candidate’s competing-class penalty is:

```
Δη(zⱼ, l) = |B(zⱼ) ∩ (X ∖ Xₗ)|
```

The symbol Δη(zⱼ, l) counts observations from other classes inside the candidate neighborhood. Its value does not shrink merely because an earlier prototype already covered those observations incorrectly.

The net improvement is:

```
ΔObj(zⱼ, l) = Δξ(zⱼ, l) − Δη(zⱼ, l) − λ
```

ΔObj is the decrease in the original objective achieved by adding the candidate. The terms Δξ and Δη are its new correct coverage and competing-class coverage, while λ is its prototype cost.

At every iteration, the algorithm chooses the candidate–class pair with the greatest positive improvement. It stops when no addition can improve the objective. The authors implemented this procedure as an R function.

This is not the usual set-cover heuristic based on a ratio between cost and new coverage. It uses an additive gain that corresponds directly to the proposed objective. The paper reports that this choice offers practical advantages without noticeably worsening objective values in the authors’ experience.

#### Adapt the comparison and the candidate collection

The framework permits changes without altering its central coverage logic. One option replaces the original dissimilarity with a rank-based comparison:

```
d̃(x, z) = |{xᵢ ∈ X : d(xᵢ, z) ≤ d(x, z)}|
```

The transformed dissimilarity d̃ counts training observations whose original dissimilarity to z is no greater than that of x. The symbols x and z denote the compared observation and candidate, and X is the training collection.

This makes neighborhood membership depend on relative proximity rather than the original distance scale. The authors describe the resulting neighborhoods in terms of nearest training observations. It is another reminder that the selector acts on a supplied notion of closeness.

Candidates may also come from an unlabeled collection of observed examples. The labels of the training observations still determine coverage rewards and penalties, while the additional collection supplies possible prototype locations. This preserves the advantage that a selected prototype is an actual example.

Alternatively, synthetic candidates can be added. The authors suggest class-specific K-means centers, particularly when restricting prototypes to observed high-dimensional points is unfavorable for classification. This option changes the interpretive character of the output, so it should be distinguished from the version selecting only observed cases.

#### Classify through the nearest selected example

Once the prototype collections have been chosen, prediction uses:

```
ĉ(x) = argminₗ minz ∈ Pₗ d(x, z)
```

The symbol ĉ(x) is the predicted class of a new observation x. For each class l, the inner minimum finds its closest prototype z in Pₗ. The outer argmin returns the class with the smallest such dissimilarity.

If every training observation remains as a prototype of its own class, this becomes nearest-neighbor classification using the full training collection. Reducing the prototype collection changes both the amount retained and the immediate evidence available for explaining a prediction.

The rule is easy to inspect locally: identify the selected example closest to the input. Its simplicity does not guarantee correctness, and it does not by itself explain why the comparison function considers the pair similar. Those remain separate questions for evaluation and interpretation.

### Experiments and results

#### What the comparisons measure

The experiments use classification error as a practical measure of whether the selected examples preserve useful label structure. The authors compare methods that produce prototypes and then classify by proximity to them. The comparisons also expose differences in what a prototype can be: an observed example for K-medoids and the basic PS setting, or a movable synthetic point for K-means and learning vector quantization.

For K-medoids, the authors run the `pam` function from R’s `cluster` package separately within each class. Their learning-vector-quantization experiments use `lvqinit` and `olvq1` from the `class` package, varying the initial codebook size. These implementation choices matter because the reported comparisons concern particular fitting procedures, not every possible variant of the methods.

The evidence includes numerical error results, visual inspection of selected examples, displays of coverage, and an analysis of how the greedy procedure develops. These answer related but different questions. Error measures predictive performance; the displays show what information a person could inspect; the greedy trace reveals how the objective spends additional prototypes.

#### A controlled simulation with overlapping classes

The simulation contains three classes in a feature space with p=2. Each class is generated from a mixture of 10 Gaussians. The authors display the resulting decision boundaries alongside the Bayes boundary.

PS and learning vector quantization follow the main boundary structure in the displayed example. K-medoids produces a more irregular boundary. The authors connect this behavior to its selection procedure: clustering each class separately does not account for the positions of competing classes.

This experiment illustrates why within-class representation alone may be insufficient. In overlapping regions, a candidate can be a reasonable summary of its own class while offering poor separation from another. The PS objective explicitly charges for this conflict.

The simulation is presented visually. The paper does not give numerical error values for this comparison in its prose. Its role is to clarify the selection logic and the geometry of the resulting boundary.

#### Handwritten digits with Euclidean and tangent distances

The USPS digit experiment uses 7,291 training images and 2,007 test images. Each image is grayscale with a 16×16 pixel arrangement, and the labels identify digits 0–9.

The authors vary ε over a range beginning at the smallest interpoint distance and extending to roughly the 14th percentile of interpoint distances. Their plotted path connects a full nearest-neighbor representation with smaller prototype collections.

The Euclidean-distance comparison permits synthetic locations for methods that support them. To give PS additional candidate locations, the authors run 10-means clustering separately within each digit class and add the resulting 100 centers to the candidate collection. The original training images remain available as candidates.

This setting should be distinguished from the observed-example version used to emphasize interpretation. Adding centers gives PS greater flexibility in the feature space. It also means that a selected candidate need not be an individual handwritten image.

The tangent-distance experiment addresses a different issue: what counts as a meaningful difference between handwritten images. The paper describes tangent distance as accommodating transformations such as changes in thickness and orientation. Because PS accepts arbitrary pairwise dissimilarities, using that comparison requires no change to the selection objective.

In this setting, the prototypes are restricted to training images. K-medoids can also use the dissimilarity directly. The authors note a practical obstacle for learning vector quantization: although extensions to differentiable metrics exist, they did not identify generic ready-to-use software for this comparison.

USPS digits with tangent distance, test error The lowest reported PS setting has lower test error than retaining every training image.

**The numbers**

| System or setting | test error % |
| --- | --- |
| Full-training-set nearest neighbor | 3.09 |
| PS, 3,372 prototypes (this paper) | 2.49 |

The starred result is the lowest point reported along the PS test-error curve. The authors caution that a minimum chosen this way gives a biased estimate of generalization error. Their broader observation is that a range of radius values yields performance comparable to full nearest-neighbor classification while retaining fewer examples.

They also discuss an implementation-dependent discrepancy. Earlier work cited in the paper reports 2.6% test error for nearest-neighbor classification with tangent distance on this dataset. The authors suggest that differences in tangent-distance implementation may explain the mismatch. This makes the within-experiment comparison more informative than treating the reported baseline as a universal value.

#### What the digit prototypes reveal

The digit results provide the paper’s strongest interpretive demonstration. In the selected collection, only seven examples remain from the 1,005 training images labeled 1. The authors explain this through the comparatively low variation in how that digit is written under tangent distance.

They report that the average tangent distance among examples of 1 is less than half the corresponding value for every other digit. The next least variable digit is 7. Since the neighborhoods use a shared radius, a concentrated class can be covered with relatively few prototypes.

This allocation is automatic. K-medoids, as used in the comparison, requires a choice about how many representatives each class receives. PS instead allows the coverage objective to determine those relative allocations.

A separate visual comparison places class-specific K-means centers alongside an observed-example PS collection containing roughly 100 prototypes. The centers appear smoother because they combine images, while the selected observations retain sharp individual strokes and a greater range of visible forms.

The first 88 selections from the larger greedy collection provide another view. The initial prototype is an image of 1. Its neighborhood covers 986 training images with that label and four images with other labels. This illustrates both the strong coverage available from a clear representative and the fact that the objective permits some competing-class coverage.

The authors organize the selected images through multidimensional scaling based on tangent dissimilarities. Display size reflects the logarithm of correct-class coverage. They also place prototype images within a complete-linkage hierarchy of the training collection. These displays demonstrate how selected examples can serve as entry points into a larger dataset.

#### Protein sequences through a mismatch kernel

The protein experiment uses a normalized mismatch-kernel matrix of size 1,708×1,708. The kernel compares amino acid sequences through shared short patterns while allowing a specified degree of mismatch. The observations therefore enter the selection procedure through their pairwise comparisons rather than through a conventional feature-vector description.

The kernel becomes a distance matrix through:

```
Dᵢⱼ = √(Kᵢᵢ + Kⱼⱼ − 2Kᵢⱼ)
```

Dᵢⱼ is the distance between proteins i and j. Kᵢⱼ is their kernel similarity, while Kᵢᵢ and Kⱼⱼ are the corresponding self-similarities. The square root converts the stated kernel expression into the distance used by the prototype procedures.

The experiment compares PS with K-medoids using 10-fold cross-validation. For PS, the radius settings follow equally spaced quantiles of pairwise distances, extending from the minimum to the median. For K-medoids, the tuning parameter is the fraction of each class retained as prototypes.

Class imbalance makes that parameterization relevant. The paper identifies 45 proteins as Positive within the collection of 1,708. Selecting an equal absolute number of prototypes for each class would impose a different allocation from selecting a fraction of each class.

PS reaches its minimum cross-validated error of 1.76% with about 870 prototypes on average across the fitted folds. The paper reports the same minimum cross-validated error for a support vector machine using the kernel while tuning its cost parameter.

After selecting the radius and fitting to the complete collection, PS retains 26 of the 45 Positive observations and 907 of the 1,663 Negative observations. These full-data counts describe the final selected collection; they are distinct from the fold-averaged prototype count associated with cross-validation.

A hierarchical display shows why some branches receive no prototype. Candidate observations in those branches have too many nearby observations from the competing class. The prize-collecting objective chooses to leave the branch uncovered rather than pay for its confusing coverage.

#### Additional classification datasets

The final comparison uses six datasets from the UCI collection. For each, the authors randomly allocate 2/3 to training and use the remaining observations for testing. Tuning occurs through ten-fold cross-validation on the training portion, with the one-standard-error selection rule.

The comparison includes PS, full nearest-neighbor classification, K-medoids, and learning vector quantization. Procedures accepting dissimilarities are evaluated with both ℓ₂ and ℓ₁ comparisons.

The authors report that PS frequently matches or improves on full nearest-neighbor classification while retaining substantially fewer prototypes. They also state that no method performs best throughout the collection of tasks. The results change with the dissimilarity choice.

The paper’s prose supports these overall conclusions, but does not supply the individual table entries needed to reconstruct dataset-specific numerical comparisons. The useful conclusion is consequently about the observed tradeoff and its dependence on the task, rather than a claim of uniform superiority.

### What the ablations show

The paper offers targeted comparisons and diagnostic analyses rather than a comprehensive ablation study that removes every component of the objective.

#### Accounting for competing classes changes the selected geometry

The Gaussian-mixture example compares PS with a within-class clustering approach and with a supervised movable-prototype approach. The contrast is informative because within-class clustering does not use competing labels when choosing representatives.

The displayed K-medoids boundary is irregular where the classes overlap. PS and learning vector quantization better reflect the main boundary structure. This supports the motivation for including information from other classes.

It does not isolate a single PS term under otherwise identical conditions. The methods differ in their optimization procedures and, for learning vector quantization, in whether representatives can move. The result therefore illustrates the value of supervised selection without measuring the exact contribution of the competing-class penalty alone.

#### Changing dissimilarity changes what the prototypes preserve

The digit experiments compare Euclidean and tangent dissimilarities. This is a substantive change in the meaning of coverage. Under one comparison, a visual transformation can separate images; under another, that transformation can be treated as less important.

The tangent-distance results show that the selector can make use of a task-specific comparison without changing its optimization structure. The additional classification experiments, using ℓ₁ and ℓ₂, reinforce the same dependence.

These comparisons limit how the interpretive displays should be read. Prototype variety reflects variation according to the chosen dissimilarity. A selected collection cannot be understood independently of that choice, even when every prototype is a familiar image.

#### Allowing synthetic candidates changes the trade-off

For the Euclidean digit comparison, PS receives additional candidates from class-specific clustering. This gives it access to locations beyond the observed images and makes its candidate flexibility more comparable with that of methods using movable centers.

The setting tests a broader version of the selection framework. It does not preserve the strongest observed-example claim. A center may offer a useful location for classification while lacking the identity of an actual case.

The paper’s visual comparison between K-means centers and observed PS examples makes this distinction tangible. The individual images preserve sharp strokes and visible differences. The averages provide another kind of summary. The analysis shows that candidate restrictions affect what people can inspect, not only the final error.

#### The greedy trace separates broad representatives from self-coverage

The analysis of selection order is especially revealing. After the first 458 prototypes, every remaining addition covers only a single training observation. The authors identify the final 2,914 prototypes as selections made to cover themselves.

This behavior follows from using the training collection as the candidate collection. An observation is available as its own candidate. When broader coverage opportunities have been exhausted, a small prototype cost can still make isolated self-coverage worthwhile.

The result distinguishes the full classifier from a compact explanatory display. Early selections can summarize many observations. Later selections may chiefly preserve local nearest-neighbor behavior. Showing only the beginning of the greedy sequence can therefore communicate the major forms while omitting much of what the full classifier retains.

The authors also vary λ and observe that test error continues to improve as it decreases. They state that λ>1 prevents entry into the self-coverage regime. This reveals a tension inside the design: a cost chosen mainly to break ties favors coverage, while a larger cost places stronger pressure on compactness.

#### Comparing solvers addresses feasibility, not explanatory quality

The paper compares linear-programming rounding with greedy selection on running time and the resulting integer-program objective. The authors prefer the greedy approach because it is easier computationally and supplies a natural prototype order.

The timing comparison is implementation-dependent. They describe substantial variation among linear-programming solvers and note that specialized software could alter the picture. Their conclusion concerns the practical tools they used.

An objective-value comparison also has a specific scope. Similar objective values indicate similar performance under the defined coverage costs. They do not establish that specialists would find the resulting collections equally useful. That question would require a different kind of evaluation.

### Limitations

#### Limits explicitly recognized by the authors

The authors repeatedly place interpretation ahead of classification performance. They describe the classifier as reasonably effective, and their additional experiments identify no universal winner. The results therefore do not justify presenting PS as the best general classification procedure.

They explicitly acknowledge the optimistic nature of the minimum digit test error. Searching a curve and reporting its lowest test value uses information from the test outcomes. That result describes an attained setting, but it is not an unbiased estimate of a selection procedure evaluated on unseen observations.

Computational difficulty is another stated limit. The covering problem is NP-hard in the general setting considered by the paper. The algorithms are approximations, and the linear-programming route can be slow and memory-intensive. The use of arbitrary dissimilarities also means that the analysis does not rely on simplifying geometric assumptions such as the triangle inequality.

The authors recognize a high-dimensional tradeoff. Restricting candidates to observed points can hinder classification, while adding centers may help. The improvement in flexibility comes with a reduction in the direct interpretive value associated with real examples.

Their timing results are also explicitly conditional on software and hardware. A straightforward R implementation and an available linear-programming interface provide a practical comparison, but they do not settle the relative efficiency of all implementations.

Finally, the authors emphasize the importance of dissimilarity. Their results with different distance choices show that the selector’s success depends on how closeness is defined. Flexibility in accepting a comparison function does not make the comparison function unimportant.

#### Interpretive usefulness is demonstrated through examples

A careful reader should distinguish the paper’s compelling visual demonstrations from a direct evaluation of expert understanding. The digit displays make the selected observations easy to inspect, and they show recognizable variation. The paper does not report a study measuring whether specialists understand the full dataset better after using them.

Classification error addresses a related issue: whether the retained examples support prediction. It does not directly measure how accurately a person infers class structure from a prototype gallery. A method can preserve useful decision information without producing the best teaching collection, or produce an illuminating gallery while leaving difficult classification cases unresolved.

The paper’s interpretive argument is therefore supported by the nature of the objects and by the displays. Actual images are inspectable, the allocation responds to variation, and the greedy contributions can be explained. Those are concrete advantages, but they should not be expanded into claims about measured human comprehension.

#### A prototype’s meaning depends on the objective

An observed example is not automatically representative in every relevant sense. It is selected because its neighborhood achieves a favorable coverage tradeoff under a specific dissimilarity, radius, and cost.

As a consequence, the collection may omit cases a specialist considers important. Rare but meaningful forms could remain uncovered if representing them offers insufficient benefit or creates substantial competing-class coverage. The optimization permits that outcome intentionally.

Likewise, a class receiving more prototypes is more demanding to cover at the selected scale. That observation can be informative, but it is not an independent measurement of intrinsic class complexity. Changing the comparison function or radius can change the allocation.

This dependence also affects prediction explanations. Pointing to the nearest prototype identifies the example responsible for the final proximity decision. It leaves open whether the chosen dissimilarity captures the right features and whether the example is appropriate for the application.

#### Compact interpretation and compact classification can diverge

The greedy trace shows that the full selected collection may contain many prototypes with little broad summarizing value. A self-covering observation can improve the coverage objective without representing a substantial group.

This is not an implementation accident. With a sufficiently small cost, the objective can prefer such additions. The distinction matters when interpreting the reported digit results: the classifier’s full prototype collection and a display of its earliest selections serve different purposes.

A practical use would need to decide whether the priority is a short gallery, extensive coverage, or predictive performance. The paper provides parameters and an ordering that expose this choice, but it does not make the objectives interchangeable.

#### Some details constrain the numerical interpretation

The additional classification results are discussed through a table whose individual values are not present in the paper’s prose. Without those entries, the broad comparison can be explained, but dataset-specific error rankings and retention counts cannot be reconstructed.

The protein description also contains an inconsistency in its class labels. It first identifies the small class as Positive, then describes a hierarchy of 45 observations as Negative. The final full-data counts distinguish the classes explicitly. The qualitative explanation of uncovered branches remains understandable, but the hierarchy’s label should not be treated as unambiguous.

The tuning setups differ across experiments. The digit discussion includes an attained minimum along a test curve; the protein discussion reports cross-validation; the additional datasets use training-set cross-validation followed by testing. Those quantities answer different evaluation questions and should not be presented as if they came from a single shared protocol.

#### Flexibility leaves application-specific work unresolved

The method can accept nonvector observations when pairwise dissimilarities are available. That is an enabling property, not evidence that every such application will work well.

A new domain still requires suitable labels, a meaningful comparison function, a candidate collection, and a way to select the radius. It also requires evaluation of whether the chosen representatives reveal the distinctions users care about.

The protein experiment demonstrates that the framework can operate on sequence-based comparisons. It does not show how to design a comparison function for another kind of structured observation. Likewise, the proposed use in a transparent language system would require its own task definition and empirical assessment.

### What came after

The later citation identified for this paper is [Interpretable Machine Learning: Fundamental Principles and 10 Grand Challenges](https://md.research.elamur.ai/free/en/papers/rudin-2021-interpretable-machine-learning-fundamental/) (2021). It places prototype selection within a later discussion of interpretable machine learning. The available citation information establishes that the later work cites Bien and Tibshirani, but does not specify a technical extension, a reproduced experiment, or a particular change to the selection objective.

The connection can therefore be stated at the level supported by the titles and citation relationship. Bien and Tibshirani offer a concrete interpretation strategy: represent labeled data through a limited collection of inspectable examples, and make the selection criteria explicit. The later work addresses the broader principles and challenges of interpretable machine learning. More detailed claims about how it evaluates or develops this particular strategy would require its own account.

The original paper leaves several precise ideas for later research to examine. It separates observed examples from synthetic centers, compact displays from full predictive collections, and coverage under a chosen comparison from an unconditional claim about representativeness. Those distinctions remain useful when assessing any example-based explanation.

Its contribution is also unusually easy to interrogate. A reader can inspect a selected observation, examine the training cases near it, identify competing labels in the same neighborhood, and ask whether its coverage justified its inclusion. The method turns representative selection into a sequence of explicit, contestable decisions. That is the strongest basis for its relevance to subsequent work on interpretation: it gives a clear account of what the representatives were selected to preserve, while leaving their usefulness open to empirical examination.

## Cite

Cite as Jacob Bien and Robert John Tibshirani. 2011. Prototype selection for interpretable classification. The Annals of Applied Statistics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1214/11-aoas495](https://doi.org/10.1214/11-aoas495) · [arXiv 1202.5933](https://arxiv.org/abs/1202.5933)

```bibtex
@article{bien2011prototype,
  title = {{Prototype selection for interpretable classification}},
  author = {Jacob Bien and Robert John Tibshirani},
  journal = {The Annals of Applied Statistics},
  year = {2011},
  doi = {10.1214/11-aoas495},
  eprint = {1202.5933},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1214/11-aoas495}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
