Colour refinement algorithm
heuristic to test graph isomorphism

In graph theory and theoretical computer science, the colour refinement algorithm also known as the naive vertex classification, or the 1-dimensional version of the Weisfeiler-Leman algorithm, is a routine used for testing whether two graphs are isomorphic. While it solves graph isomorphism on almost all graphs, there are graphs such as all regular graphs that cannot be distinguished using colour refinement.
History
The first appearance of color refinement is in Stephen H. Unger's program GIT
for graph isomorphism, where it is called the Extend method.
It was described again, immediately after, in a chemistry paper.
Description
The algorithm takes as an input a graph
G
{\displaystyle G}
with
n
{\displaystyle n}
vertices. It proceeds in iterations and in each iteration produces a new colouring of the vertices. Formally a "colouring" is a function from the vertices of this graph into some set (of "colours"). In each iteration, we define a sequence of vertex colourings
λ
i
{\displaystyle \lambda _{i}}
as follows:
λ
0
{\displaystyle \lambda _{0}}
is the initial colouring. If the graph is unlabelled, the initial colouring assigns a trivial colour
λ
0
(
v
)
{\displaystyle \lambda _{0}(v)}
to each vertex
v
{\displaystyle v}
. If the graph is labelled,
λ
0
{\displaystyle \lambda _{0}}
is the label of vertex
v
{\displaystyle v}
.
Begin with the source’s own compact description: “Colour refinement algorithm” is heuristic to test graph isomorphism. The dossier treats that line as a proposition to test through Colour, refinement and algorithm, not as a finished interpretation.
Why this record matters
The phrase “heuristic to test graph isomorphism” supplies a clear boundary for inquiry. It also exposes the unanswered questions: who defined that boundary, when it became stable and which sources sit outside it.
Vocabulary and entity names are the principal evidence signals here, because they determine the precision of every later search. The source revision retrieved here is dated Aug 3, 2026. The linked authority identifier is Q114243341. None of the 0 selected statements returned an explicit reference.
A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Colour refinement algorithm”, its source revision and the description used here.
- Expand the search: follow Colour refinement algorithm primary sources, Colour refinement algorithm archive and Colour research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Colour refinement algorithm”?
- Which cited source is closest to the event, object or claim?
- What terminology or title could unlock a more precise catalogue search?
Search terms from this dossier
This entry incorporates text from “Colour refinement algorithm” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.