<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Memory Palace and Cognitive Augmentation]]></title><description><![CDATA[I'm Aadityaamlan Panda, a developer building projects in public. I'm exploring the domain of Human Cognitive Augmentation. I will write about architecture decisions, bugs, lessons learned, and what I ship each week.]]></description><link>https://aadityaamlanpanda-human-cognitive-augmentation.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b0a3aa7921667934aa240ec/44a40a34-c353-44b6-8359-9903db5e9dc9.png</url><title>Memory Palace and Cognitive Augmentation</title><link>https://aadityaamlanpanda-human-cognitive-augmentation.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 21:01:54 GMT</lastBuildDate><atom:link href="https://aadityaamlanpanda-human-cognitive-augmentation.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[The Inception of Memory Palace]]></title><description><![CDATA[We proposed a VR memory palace to our professor, then built it. What survived, what changed, and what a small pilot study taught us.]]></description><link>https://aadityaamlanpanda-human-cognitive-augmentation.hashnode.dev/the-inception-of-memory-palace</link><guid isPermaLink="true">https://aadityaamlanpanda-human-cognitive-augmentation.hashnode.dev/the-inception-of-memory-palace</guid><category><![CDATA[unity]]></category><category><![CDATA[showdev]]></category><category><![CDATA[Virtual Reality]]></category><category><![CDATA[spring-boot]]></category><category><![CDATA[memory palace]]></category><dc:creator><![CDATA[Aadityaamlan Panda]]></dc:creator><pubDate>Sat, 28 Nov 2026 03:46:56 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0a3aa7921667934aa240ec/94ac7a9b-89ba-45a1-95d8-2dffb47a2fd5.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>I proposed a virtual memory palace to my professor. Then we built it. Here's what survived, what changed, and what we dropped.</em></p>
<p>Memory Palace demo: <a href="https://github.com/Aadityaamlan-Panda/Memory_Palace_ChE_Desktop_Web/issues/1#issue-4518614382">https://github.com/Aadityaamlan-Panda/Memory_Palace_ChE_Desktop_Web/issues/1#issue-4518614382</a></p>
<p><strong>Try it:</strong> <a href="https://play.unity.com/en/games/55443ff9-9eae-408c-b50d-544cd201342a/memorypalacewebgldesktopchemengg">Play the desktop/web build</a> · <strong>Code:</strong> <a href="https://github.com/Aadityaamlan-Panda/Memory_Palace_ChE_Desktop_Web">GitHub</a></p>
<hr />
<h2>The short version</h2>
<p>We built <strong>Memory Palace, Chemical Engineering Edition</strong>: a Unity 6 app that places 114 Chemical Engineering concepts inside a walkable 3D apartment. You walk up to a bathtub and learn manometry. You look at the fridge and see the vapour-compression refrigeration cycle. A web dashboard then schedules your reviews with a simple spaced-repetition score.</p>
<p>It started as a course proposal for DES643 (Spring 2026), written by me and Abhijit Dalai, and it ended up somewhere quite different from where it began. This post walks through that journey.</p>
<blockquote>
<p>Each one of us has an idiosyncratic journey in learning. Most resources out there answer the question "why." What they omit is "how" and also how it differs from person to person. The idea of building a memory palace in VR came to us when we thought about bringing our own perception of "how" into virtual lived experiences.</p>
</blockquote>
<hr />
<h2>Where it started: the Method of Loci</h2>
<p>The <strong>Method of Loci</strong> is a classical memory technique: you attach information to places in a familiar environment, then recall it by mentally walking the route again.</p>
<p>It shows up in Greek and Roman texts, was revived in the Renaissance, and was popularised by Harry Lorayne in 1957 and studied by historian Frances A. Yates. Memory champions swear by it. Dominic O'Brien built his system on it, and chess grandmaster Timur Gareyev has said he uses it to track his moves in blindfold games. Pop culture made it famous as the "mind palace" in <em>Sherlock</em>, <em>Hannibal</em>, <em>The Mentalist</em>, and the game <em>Alan Wake II</em>.</p>
<p>The catch: it's hard. You have to build and maintain the palace in your head, and as the amount of information grows, that takes years of practice. Ebbinghaus's Forgetting Curve says meaningfulness, association, and repetition are what make memories last, and the technique demands all three, manually.</p>
<p><strong>Our question:</strong> What if the palace already existed, and you just walked through it?</p>
<hr />
<h2>The proposal</h2>
<p>Our original pitch was ambitious. A virtual world acting as a 3D projection of <em>your own memory</em>, built from websites you'd visited and information you'd saved. The deliverables:</p>
<ol>
<li>A customizable virtual memory palace, starting with one room and growing into many</li>
<li>A graph-style database of memory locations (nodes) and their connections (edges), tracking visited websites</li>
<li>An immersive frontend where you expand objects to read summaries</li>
<li>Guided walkthroughs for active recall</li>
<li>Spaced repetition, with quizzes inside the immersive mode</li>
<li>Graph algorithms (DFS, Dijkstra, topological sort) and binary search to optimise paths and recall</li>
<li>AI integration through APIs</li>
</ol>
<p>We also flagged two ethical concerns up front: a memory map is a very sensitive thing to expose, and over-relying on immersive recall could weaken natural memory.</p>
<hr />
<h2>What we actually built</h2>
<p>Once we started, we narrowed the scope and pointed it at a real use case: <strong>teaching technical content to undergraduates</strong>.</p>
<ul>
<li><strong>A 3D apartment</strong> built in Unity 6 (URP). Each object in a room is bound to one or more concepts.</li>
<li><strong>114 Chemical Engineering concepts</strong> covering material balances, thermodynamics, phase equilibria, equations of state, reaction engineering and heat transfer.</li>
<li><strong>A Spring Boot REST API</strong> (Java 21, Spring Boot 3.5.11) with PostgreSQL behind it. On first run it seeds the 114 concepts from a CSV.</li>
<li><strong>A desktop FPS rig</strong> so anyone can explore without a headset: WASD to move, mouse to look, <strong>F</strong> to interact with doors and panels, <strong>G</strong> to reveal the concept label and slide for whatever is in the crosshair. (The full Meta Quest XR build lives in a separate private repo.)</li>
<li><strong>A web review dashboard</strong> served by the same backend. After exploring, you rate each concept with a traffic light (Easy, Medium, Hard), and that feeds a strength score.</li>
</ul>
<h3>Anchors that make sense</h3>
<p>The trick that makes a memory palace work is a meaningful link between the object and the idea. A few of ours:</p>
<table>
<thead>
<tr>
<th>Scene object</th>
<th>Concept</th>
<th>Why it sticks</th>
</tr>
</thead>
<tbody><tr>
<td>Stove top</td>
<td>Combustion reactions</td>
<td>Direct functional match</td>
</tr>
<tr>
<td>Fridge</td>
<td>Vapour-compression refrigeration cycle</td>
<td>The fridge <em>is</em> the cycle</td>
</tr>
<tr>
<td>Bathtub</td>
<td>Manometry</td>
<td>Fluid level and pressure analogy</td>
</tr>
<tr>
<td>Trash bin</td>
<td>Recycle mass balances</td>
<td>Recycle loop</td>
</tr>
<tr>
<td>Blender</td>
<td>Extent of reaction</td>
<td>Raw inputs go in, products come out</td>
</tr>
</tbody></table>
<h3>The spaced repetition, kept simple</h3>
<p>Each review sends a score to the API:</p>
<table>
<thead>
<tr>
<th>Score</th>
<th>Meaning</th>
<th>Strength change</th>
</tr>
</thead>
<tbody><tr>
<td>2</td>
<td>Easy</td>
<td>+2</td>
</tr>
<tr>
<td>1</td>
<td>Medium</td>
<td>+1</td>
</tr>
<tr>
<td>0</td>
<td>Tough</td>
<td>-2</td>
</tr>
</tbody></table>
<p>The dashboard then sorts cards by:</p>
<pre><code class="language-plaintext">priority = strength - repetitions × 0.5
</code></pre>
<p>Weak, rarely reviewed concepts float to the top, and well-learned ones sink.</p>
<hr />
<h2>Proposal vs. reality</h2>
<p>This is the honest part.</p>
<table>
<thead>
<tr>
<th>Proposed</th>
<th>What happened</th>
</tr>
</thead>
<tbody><tr>
<td>Customizable palace, starting from one room</td>
<td><strong>Changed.</strong> One fixed, pre-built apartment. Users can't yet design their own space.</td>
</tr>
<tr>
<td>Palace built from your own memories and visited websites</td>
<td><strong>Changed.</strong> Pivoted to curated course content (Chemical Engineering). No website tracking.</td>
</tr>
<tr>
<td>Graph database with nodes and edges</td>
<td><strong>Simplified.</strong> A relational <code>concepts</code> table in PostgreSQL. Each concept is tied to a scene object and a room, but there are no similarity edges.</td>
</tr>
<tr>
<td>Immersive UI with expandable summaries</td>
<td><strong>Shipped.</strong> Floating text labels and slide image panels, plus an embedded browser panel.</td>
</tr>
<tr>
<td>Guided walkthrough for recall</td>
<td><strong>Changed.</strong> Learners explore freely, then are quizzed.</td>
</tr>
<tr>
<td>Spaced repetition</td>
<td><strong>Shipped, simplified.</strong> Strength score, traffic-light reviews and a priority formula, but no Anki-style scheduling.</td>
</tr>
<tr>
<td>DFS, Dijkstra, topo sort, binary search</td>
<td><strong>Dropped.</strong> The scope never needed them.</td>
</tr>
<tr>
<td>Apache Lucene, JGraphT, vector search</td>
<td><strong>Dropped.</strong> Search is a keyword endpoint.</td>
</tr>
<tr>
<td>AI integration (Cohere, OpenAI)</td>
<td><strong>Dropped</strong> from this build.</td>
</tr>
<tr>
<td>Unity + Spring Boot + PostgreSQL</td>
<td><strong>Kept.</strong> The core stack survived.</td>
</tr>
</tbody></table>
<hr />
<h2>Architecture</h2>
<img src="https://cdn.hashnode.com/uploads/covers/6b0a3aa7921667934aa240ec/21ab0951-90fe-44b0-81de-416f07680b12.png" alt="Screenshot from 2026-11-28 09-26-28" style="display:block;margin:0 auto" />

<p>The Unity client and the web dashboard share one database, so a review you do in the browser is reflected the next time Unity fetches concepts.</p>
<p>One design detail worth noting: each concept has a <code>memoryObject</code> field that must <strong>exactly match the name of the Unity GameObject</strong>. It's a simple, effective link between data and scene, but also a fragile one. A typo and the concept silently disappears from the palace.</p>
<p><strong>Stack:</strong> Unity 6, C#, OpenXR, Spring Boot 3.5.11, Java 21, PostgreSQL, Spring Data JPA, OpenCSV, Maven.</p>
<hr />
<h2>Does it work? A small pilot</h2>
<p>We ran a six-participant pilot with IIT Kanpur undergraduates, mostly from non-Chemical-Engineering disciplines. Each did two rounds of exploration, each followed by a multiple-choice quiz. One participant took the quiz 2.5 hours late because of a system failure, so we used that as a delayed-recall reference rather than a normal round.</p>
<ul>
<li><strong>Accuracy:</strong> the group mean went from <strong>72.8% to 80.5%</strong> (+7.7 points). Four of the five improved, and one dropped by about 12 points.</li>
<li><strong>Speed:</strong> average response time fell <strong>60.8%</strong>, from 20.2 s to 7.9 s per question.</li>
<li><strong>Hints:</strong> three of five participants used <strong>no hints at all</strong> in round 2.</li>
<li><strong>Feedback:</strong> overall learning effectiveness averaged <strong>8.5/10</strong>. The highest-rated item (9.0) was how well exploring helped with the quiz. The lowest (7.2) was how easy it was to <em>find</em> a topic.</li>
</ul>
<p><strong>The big caveat:</strong> with n=5 complete data sets, no control group, and two different question sets, this is encouraging, not conclusive. We can't separate the effect of the spatial encoding from simply seeing the slides twice. Treat it as a pilot that tells us where to look next.</p>
<hr />
<h2>Ethics, revisited</h2>
<p>Our proposal worried that a memory map is deeply personal. This version only stores course content, so the risk is lower today. But if we ever return to the original vision of palaces built from personal data, access control and privacy have to come first, not last.</p>
<hr />
<h2>Follow along</h2>
<ul>
<li><strong>Code:</strong> <a href="https://github.com/Aadityaamlan-Panda/Memory_Palace_ChE_Desktop_Web">Memory_Palace_ChE_Desktop_Web</a> (MIT licensed)</li>
<li><strong>Live demo:</strong> <a href="https://play.unity.com/en/games/55443ff9-9eae-408c-b50d-544cd201342a/memorypalacewebgldesktopchemengg">Play it in the browser</a></li>
</ul>
<p>Built with <strong>Abhijit Dalai</strong> at the Department of Chemical Engineering, IIT Kanpur, with resource contributions from Shorya Agarwal. Thank you to the students who volunteered for the pilot.</p>
<hr />
<h3>References</h3>
<ul>
<li>Legge et al. (2012). Building a memory palace in minutes: equivalent memory performance using virtual versus conventional environments. <em>Acta Psychologica</em>, 141(3).</li>
<li>Dresler et al. (2017). Mnemonic training reshapes brain networks to support superior memory. <em>Neuron</em>, 93(5).</li>
<li>Parong &amp; Mayer (2018). Learning science in immersive virtual reality. <em>Journal of Educational Psychology</em>, 110(6).</li>
<li>Maguire et al. (1998). Knowing where and getting there: a human navigation network. <em>Science</em>, 280(5365).</li>
</ul>
]]></content:encoded></item></channel></rss>