SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.13827 · NeurIPS · 2021

Learning to Simulate Self-Driven Particles System with Coordinated Policy Optimization

Zhenghao Peng, Quanyi Li, Chunxiao Liu, Bolei Zhou, Ka Ming Hui

arXiv · PDF · Open in the Atlas

Code that ran

1 of 7 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 0 failures of our instrument; 6 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/2110.13827.json · badge: /api/ran/2110.13827.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
decisionforce/CoPO canonical (classifier label)
classifier basis not recorded on the link
1 ran · 6 no recorded run
FunctionStatusWhere it lives
get_change_n_env Ran
ran on a synthesized input
decisionforce/CoPO/copo_code/copo/algo_ippo/ippo_cl.py
code served (permissive licence) · get_code("8c188ecb1900bbd2")
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 type. 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 copy

class DummyEnv:
    """Minimal environment class that can be subclassed"""
    def __init__(self, config):
        self.config = config
        self.num_agents = config.get('num_agents', 1)
        self.is_closed = False
    
    def close(self):
        self.is_closed = True

ARGS = {
    'env_class': DummyEnv
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
build_meta_gradient Not yet run
unverified (harvested, no recorded run)
decisionforce/CoPO/copo_code/copo/algo_copo/grad.py
code served (permissive licence) · get_code("7f7ae3a2bf44fe29")
How it ran

no invocation recorded.

compute_global_advantage Not yet run
unverified (harvested, no recorded run)
decisionforce/CoPO/copo_code/copo/algo_copo/copo.py
code served (permissive licence) · get_code("01d145142200fe2c")
How it ran

no invocation recorded.

compute_nei_advantage Not yet run
unverified (harvested, no recorded run)
decisionforce/CoPO/copo_code/copo/algo_copo/copo.py
code served (permissive licence) · get_code("65c8249d273888dc")
How it ran

no invocation recorded.

concat_ccppo_process Not yet run
unverified (harvested, no recorded run)
decisionforce/CoPO/copo_code/copo/algo_ccppo/ccppo.py
code served (permissive licence) · get_code("aaebe5145b957a38")
How it ran

no invocation recorded.

mean_field_ccppo_process Not yet run
unverified (harvested, no recorded run)
decisionforce/CoPO/copo_code/copo/algo_ccppo/ccppo.py
code served (permissive licence) · get_code("c22001586dc8903a")
How it ran

no invocation recorded.

postprocess_add_advantages Not yet run
unverified (harvested, no recorded run)
decisionforce/CoPO/copo_code/copo/algo_copo/copo.py
code served (permissive licence) · get_code("ccdd46a7f409fd44")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 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.

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

Self-Driven Particles (SDP) describe a category of multi-agent systems common in everyday life, such as flocking birds and traffic flows. In a SDP system, each agent pursues its own goal and constantly changes its cooperative or competitive behaviors with its nearby agents. Manually designing the controllers for such SDP system is time-consuming, while the resulting emergent behaviors are often not realistic nor generalizable. Thus the realistic simulation of SDP systems remains challenging. Reinforcement learning provides an appealing alternative for automating the development of the controller for SDP. However, previous multiagent reinforcement learning (MARL) methods define the agents to be teammates or enemies before hand, which fail to capture the essence of SDP where the role of each agent varies to be cooperative or competitive even within one episode. To simulate SDP with MARL, a key challenge is to coordinate agents' behaviors while still maximizing individual objectives. Taking traffic simulation as the testing bed, in this work we develop a novel MARL method called Coordinated Policy Optimization (CoPO), which incorporates social psychology principle to learn neural controller for SDP. Experiments show that the proposed method can achieve superior performance compared to MARL baselines in various metrics. Noticeably the trained vehicles exhibit complex and diverse social behaviors that improve performance and safety of the population as a whole. Demo video and source code are available at: https://decisionforce.github.io/CoPO/. When the interactive environment is available, reinforcement learning becomes a promising approach to learn the controllers for actuating the SDP. Recently, many multi-agent reinforcement learning (MARL) methods have been developed to play competitive multi-player games, such as Hide and Seek [1], Football [26], Go and other board games [41], and StarCraft [40]. However, it is challenging to apply the existing MARL to simulate SDP systems. One essential issue is that 35th Conference on Neural Information Processing Systems (NeurIPS 2021).

For agents

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

get_harvested_code_for_paper("2110.13827")
get_code_for_paper("2110.13827")
have("2110.13827")

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

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

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

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

Connect an agent — have() is free.