Back to Home

TAPe without transformers: patch associations

In TAPe+ML, abandoning transformers reduced embedding parameters by orders of magnitude thanks to the data structure. Local patch associations form object clusters on COCO, giving the beginnings of segmentation. The model runs at 120 FPS with a focus on detection.

From transformers to local patches in TAPe: 120 FPS on COCO
Advertisement 728x90

TAPe Without Transformers: Local Patch Associations and Early Segmentation on COCO

TAPe algorithms generate structured elements from images, replacing raw pixels with compact vector representations. These data inherently possess stability and connectivity, eliminating the need for global attention mechanisms in transformers. As a result, embedding parameters are reduced by orders of magnitude compared to alternatives like YOLO or ViT.

Shifting to local patch associations enables grouping of arbitrary sizes for object isolation. Experiments on COCO show coherent clusters of patches belonging to a single object—without explicit segmentation training.

Local Associations: Mechanism and Properties

Each TAPe patch is associated with a limited local context. These associations arise from two sources:

Google AdInline article slot
  • Embedding similarity: Patches with similar features (e.g., skin texture) group together during initial training.
  • Object membership: During detection training, patches within the same object (e.g., "person") are linked into clusters.

Locality is enforced by context: extending associations beyond natural boundaries (e.g., face to neck) disrupts structure. This ensures robustness to patch changes without sacrificing coherence.

Granular control over associations (fine-tuning connections) resolves issues when modifying patches for downstream tasks.

Visualizing Associations Using a Face Example

On a COCO image, the central patch (yellow) on a person’s face associates with orange patches in its local zone. All belong to a semantically unified region—face.

Google AdInline article slot

Clustering these associations naturally outlines the face contour. Boundaries are defined by contrasting patches: clothing acts as a natural object boundary, separating skin from background.

Shifting the central patch preserves the associative cluster with minimal change, thanks to asymmetric TAPe links. When moving outside the original zone, clusters overlap—but the object outline remains stable. This marks an early stage of segmentation without dedicated training.

Key Takeaways

  • Embedding parameters dropped by orders of magnitude after abandoning transformers, thanks to TAPe’s built-in data structure.
  • Local patch associations form object clusters on COCO using similarity and membership—no global attention required.
  • Shifting the central patch yields stable object contours, bringing us closer to "free" segmentation.
  • Model runs at 120 FPS; current inaccuracies are being addressed via extended training (demo: 1 minute).
  • Focus remains on object detection; segmentation emerges as a byproduct, leading to strong final results.

Limitations and Future Directions

The current model is a prototype: full object coverage by patches isn’t yet achieved in the demo. Isolated patches may deviate due to short training (1 minute). Improvements include:

Google AdInline article slot
  • Full training to minimize artifacts.
  • Expanding associations to cover entire objects.
  • Integrating into COCO detection pipelines.
  • Transitioning to segmentation as the next step.

Processing speed stays at 120 FPS—critical for real-time applications. TAPe+ML advances toward end-to-end object detection without gradient descent or heavy architectures.

— Editorial Team

Advertisement 728x90

Read Next