Where They Appear Tells Who They Are: Book-Level Character Clustering in Manga

Siyuan Feng, Katsuhiko Hayashi, Hidetaka Kamigaito

TL;DR

Recognizing characters across an entire manga volume is tricky: the same hero might change outfits and expressions wildly, while two completely different side characters might look like twins due to the artist's style. This paper shows that where a character appears in a book is a surprisingly strong clue to who they are. By combining standard visual features with a dynamically updated map of each character's "relative presence" across pages and panels, the authors achieve a major leap in automated character clustering—without knowing how many characters exist in advance.

What Problem Does This Paper Address?

If we want AI to understand visual stories like manga, a foundational step is figuring out which drawings across a 200-page volume depict the same person. We want to do this without a pre-supplied cheat sheet of character reference images or knowing the total headcount ahead of time.

Relying on visual similarity alone falls apart quickly at the book scale. Unlike live-action video—where continuous frame-by-frame motion tracks help link a person's changing angles—manga consists of discrete, hand-drawn panels that jump across time and space. Over dozens of pages, one character’s appearance drifts (new clothes, exaggerated comedic faces), while distinct characters end up looking nearly identical in certain poses.

Figure 1: Visual ambiguity and positional evidence in book-level character clustering. Representative instances from group A and candidate B have similar appearances but belong to different characters. Their positions within the volume provide additional evidence: B appears in a region where A has low relative presence, supporting rejection of the merge. The curve schematically illustrates relative presence; only representative instances are shown. Manga images are from ARMS ©Masaki Kato.

Previous methods either focused only on single pages or used rigid, hand-crafted proximity rules. Those fixed rules treat every character the same, ignoring a basic truth of storytelling: protagonists show up everywhere, while minor arc characters cluster tightly in specific chapters.

Methods

The authors introduce presence-aware agglomeration, a trainable hierarchical clustering method. It starts by treating every character body crop (encoded with frozen visual features like MagiV2) as its own singleton group, then progressively merges the highest-scoring pairs until scores drop below a learned threshold.

Figure 2: Overview of presence-aware agglomeration. Starting from singleton groups, the method repeatedly merges the highest-scoring pair whose score exceeds the threshold θ and updates the merged group’s presence pattern. The merge score combines three terms: V (A, B), the cross-group average of visual similarity plus a learned page-distance term g; C(A, B), the relative presence, which measures whether each group’s members appear where the other group is relatively active; and Q(A, B), the same-panel co-occurrence, which counts cross-group instances appearing in the same panel. The presence illustration shows the A →B direction; C(A, B) averages both directions. The displayed groups represent an intermediate clustering state; page positions, numerical values, and presence curves are illustrative. Character images are from Belmondo ©Shoei Ishioka.

What makes this novel is how the merge score $s(A, B)$ blends visual similarity with evolving positional context through three learned components:

  1. Visual + Page-Distance Score ($V$): Averages the visual cosine similarity between groups, adjusted by a learned function of page distance (since visual similarity becomes a less reliable signal the further apart two pages are).
  2. Group-Level Relative Presence ($C$): As instances merge into a group, they build a footprint of where that character is active in the book using a learnable positional kernel over page and panel distances. Crucially, this activity is centered against the group’s own book-wide average. It asks: "Does Group B appear in chapters where Group A is unusually active compared to A's baseline?" Every merge updates this presence distribution for the next decision.
  3. Same-Panel Co-occurrence ($Q$): Two distinct body boxes in the exact same panel have a distance of zero, yet almost always depict different people conversing. Rather than hard-coding a "cannot-link" constraint (which breaks when a panel shows multiple clones or temporal afterimages of one character), $Q$ learns a soft penalty for same-panel merges.

The scoring weights and distance kernels are trained on annotated manga using binary cross-entropy at both the individual pair level and via teacher-forced group merges.

Datasets

No new datasets were introduced; the authors use two established comic benchmarks:

  • Manga109: Used for training (83 volumes), validation (10), and testing (11). Inputs include ground-truth character body boxes, page indices, and estimated panel reading orders. Notably, unnamed background characters ("Other") are included during clustering to keep the setting realistic, though excluded when scoring named character accuracy.
  • PopManga: Used strictly for zero-shot cross-dataset evaluation (20 "unseen" and 30 "seen" chapters, referring to the underlying visual encoder's pretraining) to test how well the Manga109-trained clustering transfers to shorter chapter units.

Key Insights and Ideas

  • Presence must be relative, not absolute: If you don't normalize a group's local presence by its overall book average, the main character—who appears on nearly every page—acts like a gravitational black hole, absorbing ambiguous instances everywhere. Centering the presence score ensures a location only boosts a merge if that specific character is especially active there.
  • Story structure rescues weak vision: When the authors swapped out specialized manga features (MagiV2) for general-purpose encoders (CLIP and DINOv2), raw visual clustering tanked. Adding presence-aware agglomeration yielded massive relative gains, proving that narrative location patterns carry heavy identity signal when visual representations struggle.
  • Presence stabilizes clustering: In ablations, removing the relative presence term $C$ didn't just drop accuracy—it caused variance across random training seeds to spike nearly fivefold, showing that accumulated location history anchors otherwise borderline merge decisions.

Key Results

Using Adjusted Mutual Information (AMI, where 1.0 is a perfect match to ground-truth identities):

  • Manga109 (Book-level): Using the exact same frozen MagiV2 visual features, standard average-linkage clustering scores 0.631 AMI. Presence-aware agglomeration jumps to 0.699 AMI (and 0.727 NMI). Remarkably, it even beats MagiV2's reference-bank mode (0.515 AMI), which is given a ground-truth reference image for every character.
  • Manga109 (Page-level): Restricting the book-wide clusters to individual pages yields 0.754 AMI, outperforming the dedicated page-level baseline Magi (0.602 AMI).
  • Zero-Shot Transfer & General Encoders: Applied directly to PopManga without retraining, the method improves over average-linkage clustering on both unseen (0.707 vs. 0.682 AMI) and seen (0.687 vs. 0.661 AMI) splits. On Manga109, it lifts CLIP book-level AMI from 0.263 to 0.378, and DINOv2 from 0.142 to 0.313.

Qualitatively, visual-only clustering frequently collapses pairs of similarly drawn characters into single clusters, whereas presence-aware agglomeration cleanly separates them based on their distinct narrative arcs.

Limitations and Future Work

  • Reliance on ground-truth boxes: The experiments use human-annotated character bounding boxes. Pairing the system with an automated object detector—and dealing with missed or noisy crops—is the necessary next step for end-to-end deployment.
  • Greedy, irreversible merges: Because standard agglomerative clustering never undoes a merge, an early mistake based on sparse initial presence data gets locked in permanently, polluting that group's presence map. Exploring revisable clustering algorithms that can second-guess early merges as fuller character arcs emerge is a promising future direction.

Summary updated

BibTeX
@misc{feng2026where,
  author = {Siyuan Feng and Katsuhiko Hayashi and Hidetaka Kamigaito},
  title = {{Where They Appear Tells Who They Are: Book-Level Character Clustering in Manga}},
  year = {2026},
  eprint = {2611.35895},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35895},
}
Figure