A Formal Framework Enabling Cost-Efficient Semantic Code Transformation through Hybrid Deterministic-Probabilistic Processing


Abstract

Large Language Models (LLMs) demonstrate impressive reasoning capabilities but lack persistent, structured external memory. Existing agent paradigms (ReAct, Tree-of-Thoughts, Plan-and-Execute) encode world state implicitly within context windows, causing O(n²) context growth, state drift, and architectural unsuitability for large-scale semantic tasks.

We introduce External Semantic Memory Architecture (ESMA), a formal framework where world state is externalized into typed, hierarchical state machines with semantic namespaces. Under ESMA, snapshots encode state in structured paths (data.*, state.*, derived.*, `meta….

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help