paper-with-me

Papers

AlgoSimBench: Identifying Algorithmically Similar Problems for Competitive Programming

2025-07-21 · Jierui Li, Raymond Mooney arxiv

Recent reasoning-enhanced Large Language Models (LLMs) have achieved promising results in solving complex competitive programming problems. However, it remains unclear whether these reasoning abilities generalize to relevant tasks, like identifying algorithmically similar problems (ASPs). We introduce AlgoSimBench, a benchmark of 402 multiple-choice questions curated in an adversarial setting: each given reference problem is paired with one algorithmically similar problem and three distractors that are semantically close but algorithmically dissimilar. This design forces models to rely on algorithmic reasoning rather than superficial textual cues. Our evaluation shows that LLMs consistently struggle under this setting. To address this gap, we propose Attempted Solution Matching (ASM), which leverages LLM-generated solution attempts to assess similarity, yielding an average accuracy improvement of 9% across models. Beyond LLM evaluation, AlgoSimBench also probes code retrieval methods; when combined with BM25, ASM achieves an additional 11.8% gain over state-of-the-art embedding models. AlgoSimBench offers a challenging testbed that facilitates future studies on LLMs and retrieval methods.

📄 PDF Abstract BibTeX arXiv:2507.15378

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming

2025-05-19 · Han Deng, Yuan Meng, Shixiang Tang, Wanli Ouyang 외

Competitive programming benchmarks are widely used in scenarios such as programming contests and large language model assessments. However, the growing presence of duplicate or highly similar problems raises concerns not…

FairnessLarge Language ModelRetrieval

Distance Measure Machines

2018-03-01 · Alain Rakotomamonjy, Abraham Traoré, Maxime Berar, Rémi Flamary 외

This paper presents a distance-based discriminative framework for learning with probability distributions. Instead of using kernel mean embeddings or generalized radial basis kernels, we introduce embeddings based on dis…

Fairness with Overlapping Groups

2020-06-24 · Forest Yang, Moustapha Cisse, Sanmi Koyejo

In algorithmically fair prediction problems, a standard goal is to ensure the equality of fairness metrics across multiple overlapping groups simultaneously. We reconsider this standard fair classification problem using …

ClassificationFairnessGeneral Classification

Fairness with Overlapping Groups; a Probabilistic Perspective

2020-12-01 · NeurIPS 2020 12 · Forest Yang, Mouhamadou Cisse, Oluwasanmi O. Koyejo

In algorithmically fair prediction problems, a standard goal is to ensure the equality of fairness metrics across multiple overlapping groups simultaneously. We reconsider this standard fair classification problem using …

ClassificationFairnessGeneral Classification

Glassy nature of the hard phase in inference problems

2018-05-15 · Fabrizio Antenucci, Silvio Franz, Pierfrancesco Urbani, Lenka Zdeborová

An algorithmically hard phase was described in a range of inference problems: even if the signal can be reconstructed with a small error from an information theoretic point of view, known algorithms fail unless the noise…