SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.13322 · 2022

Group SELFIES: A Robust Fragment-Based Molecular String Representation

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2211.13322.json · badge: /api/ran/2211.13322.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
aspuru-guzik-group/group-selfies canonical (classifier label)
classifier basis not recorded on the link
12 ran · 2 no recorded run
FunctionStatusWhere it lives
find_next_available Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/group_decoder.py
code served (permissive licence) · get_code("3520591cc23c9595")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - current_idx: int, used in arithmetic
# - rel_idx: int, used in arithmetic
# - member_idxs: indexable (list/array), accessed via attachment_points[inner]
# - attachment_points: indexable (list/array), has len(), elements used as indices into member_idxs

# The function iterates through attachment_points indices and checks if member_idxs[attachment_points[inner]] is not None
# So attachment_points contains indices that can be used to index into member_idxs

current_idx = 0
rel_idx = 1
attachment_points = [0, 2, 1, 3]  # indices into member_idxs
member_idxs = [None, "value1", None, "value2"]  # indexed by attachment_points elements

ARGS = {
    "current_idx": current_idx,
    "rel_idx": rel_idx,
    "member_idxs": member_idxs,
    "attachment_points": attachment_points,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_alphabet_from_selfies Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/utils/selfies_utils.py
code served (permissive licence) · get_code("fb596900403bbe31")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned set. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def split_selfies(selfies: str):
    """Tokenizes a SELFIES string into its individual symbols."""
    left_idx = selfies.find('[')
    while 0 <= left_idx < len(selfies):
        right_idx = selfies.find(']', left_idx + 1)
        if right_idx == -1:
            raise ValueError("malformed SELFIES string, hanging '[' bracket")
        next_symbol = selfies[left_idx:right_idx + 1]
        yield next_symbol
        left_idx = right_idx + 1
        if selfies[left_idx:left_idx + 1] == '.':
            yield '.'
            left_idx += 1

def get_alphabet_from_selfies(selfies_iter):
    """Constructs an alphabet from an iterable of SELFIES strings."""
    alphabet = set()
    for s in selfies_iter:
        for symbol in split_selfies(s):
            alphabet.add(symbol)
    alphabet.discard('.')
    return alphabet

# Construct valid SELFIES strings
selfies_list = [
    "[C][F][O]",
    "[C].[O]",
    "[F][F]",
    "[C][=C][N]"
]

ARGS = {
    "selfies_iter": selfies_list
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_bonding_capacity Ran
ran, honoured the contract we drafted
aspuru-guzik-group/group-selfies/group_selfies/bond_constraints.py
code served (permissive licence) · get_code("f4c14d9d2317957b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import functools
import math

_DEFAULT_CONSTRAINTS = {'H': 1, 'F': 1, 'Cl': 1, 'Br': 1, 'I': 1, 'B': 3, 'B+1': 2, 'B-1': 4, 'O': 2, 'O+1': 3, 'O-1': 1, 'N': 3, 'N+1': 4, 'N-1': 2, 'C': 4, 'C+1': 3, 'C-1': 3, 'P': 5, 'P+1': 6, 'P-1': 4, 'S': 6, 'S+1': 7, 'S-1': 5, '?': 8, '*': math.inf}

_PRESET_CONSTRAINTS = {'default': dict(_DEFAULT_CONSTRAINTS), 'octet_rule': dict(_DEFAULT_CONSTRAINTS), 'hypervalent': dict(_DEFAULT_CONSTRAINTS), 'groups': dict(_DEFAULT_CONSTRAINTS)}

_current_constraints = _PRESET_CONSTRAINTS['default']

@functools.lru_cache()
def get_bonding_capacity(element: str, charge: int) -> int:
    """Returns the bonding capacity of a given atom, under the current
    semantic constraints.

    :param element: the element of the input atom.
    :param charge: the charge of the input atom.
    :return: the bonding capacity of the input atom.
    """
    key = element
    if charge != 0:
        key += '{:+}'.format(charge)
    if key in _current_constraints:
        return _current_constraints[key]
    else:
        return _current_constraints['?']


ARGS = {
    'element': 'C',
    'charge': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_preset_constraints Ran
ran; our contract draft was wrong, not the code
aspuru-guzik-group/group-selfies/group_selfies/bond_constraints.py
code served (permissive licence) · get_code("32fdc12223f433f5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math

ARGS = {
    'name': 'default'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
map_to_smiles Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/utils/group_utils.py
code served (permissive licence) · get_code("fc3bc3a290dd0e71")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def map_to_smiles(s, clear_valence=False):
    return re.sub('[\\-\\=\\#\\@]?\\[\\d*\\*:(\\d)\\]', '*\\1' if not clear_valence else '*1', s)

# Construct valid arguments for map_to_smiles
# The function takes a string s and an optional boolean clear_valence

ARGS = {
    's': 'C[CH-:1]C(=O)[O-:2]',
    'clear_valence': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
merge_list Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/utils/fragment_utils.py
code served (permissive licence) · get_code("b54dccf6f9db3c1f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math

def merge_list(L1, L2, limit=math.inf):
    L1, L2 = sorted([L1, L2], key=lambda x: len(x))
    L1.sort(reverse=True)
    L2.sort(reverse=True)
    if len(L1) != len(L2):
        merged = L2[len(L1):]
        if (valid := merge_list(L1[:], L2[:len(L1)])) is not None:
            merged = valid + merged
        else:
            return None
    else:
        merged = [max(l1, l2) for l1, l2 in zip(L1, L2)]
    if sum(merged) <= min(max(sum(L1), sum(L2)), limit):
        return merged
    return None


ARGS = {
    "L1": [5, 3, 2],
    "L2": [8, 6, 4, 1],
    "limit": math.inf
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
name_to_token Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/group_grammar.py
code served (permissive licence) · get_code("ab248e43c0596418")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import itertools
import torch

torch.manual_seed(0)

def name_to_token(name, n_points):
    return [f"[:{''.join(map(str, bond_type))}{name}]" for bond_type in itertools.product(['', '=', '#'], range(n_points))]

# Analyzing the function:
# - name: used in f-string, should be a string
# - n_points: used in range(n_points), should be an integer
# - bond_type is iterated from itertools.product(['', '=', '#'], range(n_points))
# - bond_type elements are converted to strings and joined

ARGS = {
    "name": "carbon",
    "n_points": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
process_branch_symbol Ran
ran, honoured the contract we drafted
aspuru-guzik-group/group-selfies/group_selfies/grammar_rules.py
code served (permissive licence) · get_code("9d7d94f69eeab43f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Set seed for reproducibility
torch.manual_seed(0)

# Build the ARGS dictionary
# The function process_branch_symbol takes one parameter: symbol (str)
# Looking at the function body, it tries to look up the symbol in _PROCESS_BRANCH_CACHE
# Valid symbols are '[Branch]', '[=Branch]', '[#Branch]' based on the cache building logic
# We'll test with a valid symbol

ARGS = {
    'symbol': '[Branch]'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
process_ring_symbol Ran
ran; our contract draft was wrong, not the code
aspuru-guzik-group/group-selfies/group_selfies/grammar_rules.py
code served (permissive licence) · get_code("823657d43f7742e2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# The function process_ring_symbol takes a single parameter: symbol (str)
# It looks up the symbol in _PROCESS_RING_CACHE and returns a tuple or None
# We need to construct valid arguments that will exercise the function

ARGS = {
    "symbol": "[Ring1]"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_nx Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/utils/group_utils.py
code served (permissive licence) · get_code("ce0e92c409b8665a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Graph. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import networkx as nx


class MockAtom:
    def __init__(self, index, element):
        self.index = index
        self.element = element


class MockBond:
    def __init__(self, order):
        self.order = order


class MockMolGraph:
    def __init__(self):
        self._atoms = [
            MockAtom(0, "C"),
            MockAtom(1, "N"),
            MockAtom(2, "O"),
        ]
        self._bond_dict = {
            (0, 1): MockBond(1),
            (1, 2): MockBond(2),
            (0, 2): MockBond(1),
        }


mol_graph = MockMolGraph()

ARGS = {
    "mol_graph": mol_graph,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Graph — a Graph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Graph output the recorded ndim 1 and dtype family int describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
token_to_name Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/group_grammar.py
code served (permissive licence) · get_code("410d3cb9e01623f2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def token_to_name(token):
    return token[2:-1]

# The function takes a token and returns token[2:-1]
# This is string slicing, so token should be a string
token = "prefix_name_suffix"

ARGS = {
    "token": token
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
update_member_idxs Ran
ran on a synthesized input
aspuru-guzik-group/group-selfies/group_selfies/group_decoder.py
code served (permissive licence) · get_code("fedf675c4c98a0de")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# member_idxs is a list where each element is either None or an integer index
# attachment_point_idx is an integer representing the index in member_idxs to process
member_idxs = [0, 1, None, 3, 2]
attachment_point_idx = 2

ARGS = {
    "member_idxs": member_idxs,
    "attachment_point_idx": attachment_point_idx,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_attachment_points Not yet run
unverified (harvested, no recorded run)
aspuru-guzik-group/group-selfies/group_selfies/utils/fragment_utils.py
code served (permissive licence) · get_code("8bbd72500b3c4898")
How it ran

no invocation recorded.

len_selfies Not yet run
unverified (harvested, no recorded run)
aspuru-guzik-group/group-selfies/group_selfies/utils/selfies_utils.py
code served (permissive licence) · get_code("5abbee63fffd1547")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_bonding_capacity 2 other papers
2 later
2302.03620 (2023-02)
Recent advances in the Self-Referencing Embedding Strings (SELFIES) library
2509.23099 (2025-09)
How to Make Large Language Models Generate 100% Valid Molecules?
get_alphabet_from_selfies 1 other paper
1 later
2302.03620 (2023-02)
Recent advances in the Self-Referencing Embedding Strings (SELFIES) library
get_preset_constraints 1 other paper
1 later
2302.03620 (2023-02)
Recent advances in the Self-Referencing Embedding Strings (SELFIES) library
len_selfies 1 other paper
1 later
2302.03620 (2023-02)
Recent advances in the Self-Referencing Embedding Strings (SELFIES) library
process_branch_symbol 1 other paper
1 later
2509.23099 (2025-09)
How to Make Large Language Models Generate 100% Valid Molecules?
process_ring_symbol 1 other paper
1 later
2509.23099 (2025-09)
How to Make Large Language Models Generate 100% Valid Molecules?

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We introduce Group SELFIES, a molecular string representation that leverages group tokens to represent functional groups or entire substructures while maintaining chemical robustness guarantees. Molecular string representations, such as SMILES and SELFIES, serve as the basis for molecular generation and optimization in chemical language models, deep generative models, and evolutionary methods. While SMILES and SELFIES leverage atomic representations, Group SELFIES builds on top of the chemical robustness guarantees of SELFIES by enabling group tokens, thereby creating additional flexibility to the representation. Moreover, the group tokens in Group SELFIES can take advantage of inductive biases of molecular fragments that capture meaningful chemical motifs. The advantages of capturing chemical motifs and flexibility are demonstrated in our experiments, which show that Group SELFIES improves distribution learning of common molecular datasets. Further experiments also show that random sampling of Group SELFIES strings improves the quality of generated molecules compared to regular SELFIES strings. Our open-source implementation of Group SELFIES is available online, which we hope will aid future research in molecular generation and optimization.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2211.13322")
get_code_for_paper("2211.13322")
have("2211.13322")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2211.13322.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2211.13322.svg)](https://syntology.ai/paper/2211.13322)

Connect an agent — have() is free.