mlsanityData to 14 Oct 2026

Towards a Measure of Algorithm Similarity

arXiv 2510.27063 ↗First posted 31 Oct 2025cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Given two algorithms for the same problem, can we determine whether they are meaningfully different? In full generality, the question is uncomputable, and empirically it is muddied by competing notions of similarity. Yet, in many applications (such as clone detection or program synthesis) a pragmatic and consistent similarity metric is necessary. We review existing equivalence and similarity notions and introduce EMOC: An Evaluation-Memory-Operations-Complexity framework that embeds algorithm implementations into a feature space suitable for downstream tasks. We compile PACD, a curated dataset of verified Python implementations across three problems, and show that EMOC features support clustering and classification of algorithm types, detection of near-duplicates, and quantification of diversity in LLM-generated programs. Code, data, and utilities for computing EMOC embeddings are released to facilitate reproducibility and future work on algorithm similarity.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 1 of its 21 references that are in the map. First posted on arXiv 31 Oct 2025.

Builds on

1 of 21 references.

References · 1

  1. 2021Understanding self-supervised Learning Dynamics without Contrastive Pairscited by 256

Built on by

Not cited yet.