From 2299b75214247a50acf8cbf11209281fb0ded447 Mon Sep 17 00:00:00 2001
From: Carlos Crespo Macaya
Date: Fri, 9 Jan 2026 15:05:48 +0100
Subject: [PATCH 1/2] fix: improve headline to communicate value proposition
Change subtitle from technical jargon to benefit-focused messaging:
"Test-Time Training: Evolving LLMs from data hoarders to knowledge creators"
Co-Authored-By: Claude Opus 4.5
---
deploy/huggingface/app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/deploy/huggingface/app.py b/deploy/huggingface/app.py
index bdd0f05..db4e0ba 100644
--- a/deploy/huggingface/app.py
+++ b/deploy/huggingface/app.py
@@ -218,7 +218,7 @@
margin: 5px 0 0 0;
font-size: 1.1em;
font-weight: 300;
- ">Real Test-Time Training — Not a Simulation
+ ">Test-Time Training: Evolving LLMs from data hoarders to knowledge creators
From 97a4b027e7aeab98decd82203d41a836a8141fe9 Mon Sep 17 00:00:00 2001
From: Carlos Crespo Macaya
Date: Fri, 9 Jan 2026 15:19:13 +0100
Subject: [PATCH 2/2] docs: add Limitations, Acknowledgments, and Next Steps to
About section
- Add Limitations table clarifying simplified RAG, demo scope
- Add Acknowledgments crediting Titans paper authors, TTT research, frameworks
- Add Next Steps outlining potential improvements
- Remove personal contact info from footer (already in profile links)
Demonstrates intellectual honesty and proper attribution.
Co-Authored-By: Claude Opus 4.5
---
deploy/huggingface/app.py | 67 ++++++++++++++++++++++++++++++++-------
1 file changed, 56 insertions(+), 11 deletions(-)
diff --git a/deploy/huggingface/app.py b/deploy/huggingface/app.py
index db4e0ba..43b2b40 100644
--- a/deploy/huggingface/app.py
+++ b/deploy/huggingface/app.py
@@ -2137,24 +2137,69 @@ def restore(name: str) -> str:
- **Checkpoints**: Save/restore learned state via Docker volumes
- **Container-Native**: Designed for orchestrated deployment
-### Built By
+---
-**Carlos Crespo Macaya**
-AI Engineer - GenAI Systems & Applied MLOps
+## Limitations
+
+This is a **demonstration project**, not a production-ready system:
+
+| Component | Current State | Production Would Need |
+|-----------|---------------|----------------------|
+| **RAG Implementation** | Simplified keyword matching | Vector embeddings + semantic search (FAISS, Pinecone) |
+| **Neural Memory** | Basic 2-layer MLP | Deeper architecture, attention mechanisms |
+| **Scalability** | Single-user demo | Distributed inference, GPU optimization |
+| **Evaluation** | Qualitative comparison | Benchmarks, ablation studies, metrics |
+| **Memory Capacity** | ~250K parameters | Larger models, hierarchical memory |
+
+The RAG comparison uses simple word overlap scoring to demonstrate *why* keyword-based retrieval fails for pattern inference. A production RAG system would use proper embeddings and vector similarity search.
+
+---
+
+## Acknowledgments
+
+This project builds on the work of brilliant researchers:
-- 10+ years production ML experience
-- Expert in Docker, Kubernetes, MCP servers
-- Currently at HP AICoE building multi-agent systems
+**Core Research:**
+- **Titans: Learning to Memorize at Test Time** (Google, Dec 2024) — [arXiv:2501.00663](https://arxiv.org/abs/2501.00663)
+ - Ali Behrouz, Peilin Zhong, Vahab Mirrokni
+- **Learning to (Learn at Test Time): RNNs with Expressive Hidden States** (Stanford/Meta, Jul 2024) — [arXiv:2407.04620](https://arxiv.org/abs/2407.04620)
+ - Yu Sun, Xinhao Li, Karan Dalal, et al.
+
+**Frameworks & Tools:**
+- [PyTorch](https://pytorch.org/) — The foundation for neural memory implementation
+- [Gradio](https://gradio.app/) — Interactive demo interface
+- [HuggingFace](https://huggingface.co/) — Model hosting and inference API
+- [Model Context Protocol](https://modelcontextprotocol.io/) — Claude Desktop integration
+
+**Inspiration:**
+- The broader ML community exploring alternatives to attention-based memory
+- Open-source contributors who make research accessible
+
+---
+
+## Next Steps
+
+Potential improvements for future iterations:
+
+1. **Real RAG Baseline**: Integrate sentence-transformers + FAISS for proper semantic retrieval comparison
+2. **Attention-Based Memory**: Implement the full Titans architecture with neural long-term memory gates
+3. **Benchmarking**: Add quantitative evaluation on standard memory tasks (bAbI, etc.)
+4. **Multi-Modal Support**: Extend to image/audio observations
+5. **Distributed Memory**: Explore memory sharing across multiple agents
+6. **Fine-Grained Forgetting**: Implement selective memory consolidation/pruning
+
+---
+
+## Built By
+
+**Carlos Crespo Macaya**
+AI Engineer — GenAI Systems & Applied MLOps
This project demonstrates the ability to:
1. Read cutting-edge research (Titans paper)
2. Implement it correctly (PyTorch TTT)
3. Productionize it (Docker, MCP, CI/CD)
-4. Make it compelling (this demo)
-
-**Contact:** [macayaven@gmail.com](mailto:macayaven@gmail.com)
-
-**GitHub:** [macayaven/docker-neural-memory](https://github.com/macayaven/docker-neural-memory)
+4. Communicate it effectively (this demo)
"""