cs.ITFeb 26, 2026

Automated Discovery of Improved Constant Weight Binary Codes

Authors: Christopher D. Rosin

Abstract

A constant weight binary code consists of nn-bit binary codewords, each with exactly ww bits equal to 1, such that any two codewords are at least Hamming distance dd apart. A(n,d,w)A(n,d,w) is the maximum size of a constant weight binary code with parameters n,d,wn,d,w. We establish improved lower bounds on A(n,d,w)A(n,d,w) by constructing new larger codes, for 24 values of (n,d,w)(n,d,w) with 6≤d≤186 \leq d \leq 18 and 18≤n≤3518 \leq n \leq 35. The improved lower bounds come from two strategies. The first is a tabu search that operates at the level of bit swaps. The second is a novel greedy heuristic that repeatedly chooses the candidate codeword that maximizes a randomly-scored histogram of distances to previously-added codewords. These strategies were proposed by CPro1, an automated protocol that generates, implements, and tests diverse strategies for combinatorial constructions.

Figures & tables

Explore similar work

CardsList
  1. Coding Agents for Coding Theory

    Sep 30, 2026Abraham YeungCoding AgentsLLM Agent Reliability