<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Traffic Simulation | Yonghui Liu</title><link>https://lyh360121.github.io/tags/traffic-simulation/</link><atom:link href="https://lyh360121.github.io/tags/traffic-simulation/index.xml" rel="self" type="application/rss+xml"/><description>Traffic Simulation</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 11 Oct 2026 00:00:00 +0000</lastBuildDate><image><url>https://lyh360121.github.io/media/sharing.png</url><title>Traffic Simulation</title><link>https://lyh360121.github.io/tags/traffic-simulation/</link></image><item><title>Route-Conditioned Traffic Simulation</title><link>https://lyh360121.github.io/projects/route-conditioned-traffic-simulation/</link><pubDate>Sun, 11 Oct 2026 00:00:00 +0000</pubDate><guid>https://lyh360121.github.io/projects/route-conditioned-traffic-simulation/</guid><description>&lt;h2 id="research-goal"&gt;Research Goal&lt;/h2&gt;
&lt;p&gt;Traffic simulation is useful for asking how a change in routing or demand affects an interacting population. A generated scene needs to respond to those changes while preserving plausible movement, waiting, and interaction. Reaching a requested exit is only one part of that problem.&lt;/p&gt;
&lt;p&gt;I am developing a research system that connects &lt;strong&gt;route-conditioned traffic generation&lt;/strong&gt; with &lt;strong&gt;intent-aware task allocation&lt;/strong&gt;. The central questions are whether a model can execute a specified map route in a closed loop, and whether a shared routing objective can be achieved by assigning tasks that require fewer changes to participants&amp;rsquo; existing movement tendencies.&lt;/p&gt;
&lt;h2 id="what-i-am-developing"&gt;What I Am Developing&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Route conditioning on a frozen motion model.&lt;/strong&gt; An ordered map path provides a spatial route condition. The current training scope keeps the pretrained SMART model frozen and learns a path encoder and FiLM conditioning modules. The condition leaves timing and intermediate motion to the generated interaction.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Recorded-scene execution.&lt;/strong&gt; Scene adapters initialize the participant group from observed history and provide current recorded signal states. A rolling-history execution kernel supports sampling, task termination, and reproducible evaluation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Intent-aware allocation.&lt;/strong&gt; An independent offline module assigns participants to routes under feasibility and quota constraints, prioritizing fewer reassignments from an explicitly supplied baseline. Historical motion, lane compatibility, and uncontrolled predictions are being examined as evidence for that baseline.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inspectable experiments.&lt;/strong&gt; Saved trajectories and model identities support comparisons between uncontrolled motion, an original route or reference, and an alternative condition. Successful, incomplete, and degraded outcomes remain visible in the evaluation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The system builds on the open-source &lt;strong&gt;SMART&lt;/strong&gt; and &lt;strong&gt;CAT-K&lt;/strong&gt; traffic modeling foundations. My work adds the route-conditioning, scene adaptation, allocation, and experimental workflow described here. Earlier conditioning prototypes drew on the encoder and FiLM structure of &lt;strong&gt;ECoSim&lt;/strong&gt;; the current training procedure is developed separately.&lt;/p&gt;
&lt;h2 id="prototype-and-current-work"&gt;Prototype and Current Work&lt;/h2&gt;
&lt;p&gt;
&lt;figure id="figure-saved-diagnostics-from-the-september-2026-timed-reference-prototype-solid-lines-show-generated-motion-dashed-lines-show-requested-references-current-map-route-joint-training-is-evaluated-separately"&gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Saved timed-reference diagnostics compare generated motion with requested motion under matched initial states and random seeds."
srcset="https://lyh360121.github.io/projects/route-conditioned-traffic-simulation/conditioning-diagnostics_hu_d8606b843ce50ff4.webp 320w, https://lyh360121.github.io/projects/route-conditioned-traffic-simulation/conditioning-diagnostics_hu_b454f63b11bcef6e.webp 480w, https://lyh360121.github.io/projects/route-conditioned-traffic-simulation/conditioning-diagnostics_hu_2b2536e152831d8e.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://lyh360121.github.io/projects/route-conditioned-traffic-simulation/conditioning-diagnostics_hu_d8606b843ce50ff4.webp"
width="760"
height="575"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;figcaption&gt;
Saved diagnostics from the September 2026 timed-reference prototype. Solid lines show generated motion; dashed lines show requested references. Current map-route joint training is evaluated separately.
&lt;/figcaption&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Earlier prototypes produced saved three-way replays using the same initial scene and random seed while changing only the target participant&amp;rsquo;s timed reference. These replays help inspect whether motion changes with the condition, including how surrounding participants respond. Their reference-following errors describe those historical experiments.&lt;/p&gt;
&lt;p&gt;The current research uses &lt;strong&gt;map routes without prescribed arrival times&lt;/strong&gt;, a frozen pretrained motion model, and trainable route-conditioning modules. Supervised conditioning experiments have been run, and policy-optimization experiments using closed-loop route and driving-quality feedback are ongoing. Route completion, preservation of already compatible behavior, and interaction quality are evaluated separately; stable route control has yet to be established. The existing offline allocation module is separate from the current training scope, with integration contingent on a validated route executor.&lt;/p&gt;
&lt;h2 id="evaluation"&gt;Evaluation&lt;/h2&gt;
&lt;p&gt;The experimental comparisons address three connected questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Does the requested route execute?&lt;/strong&gt; Measure the actual first exit and distinguish correct completion, wrong exits, and unfinished trajectories. Report original-route and changed-route tasks separately.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What changes in behavior?&lt;/strong&gt; Compare conditioned and uncontrolled outcomes under matched initial scenes and seeds. Inspect curb crossings, wrong-way motion, and participant overlap as explicit quality proxies alongside route success.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Does allocation reduce intervention?&lt;/strong&gt; Compare actual achieved route counts, reassignment and intervention counts, motion-quality changes, and computational cost. Planned assignments and completed movements are recorded separately.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The longer-term objective is to connect aggregate routing targets with measured changes in individual behavior, while preserving the uncertainty in inferred movement intent.&lt;/p&gt;</description></item></channel></rss>