피드로 돌아가기
Opendria – Historical AI characters simulating brain, emotional & cognitive states
Dev.toDev.to
AI/ML

Cognitive State Machine 기반 역사적 AI 페르소나 시뮬레이션 설계

Opendria – Historical AI characters simulating brain, emotional & cognitive states

Opendria2026년 6월 3일1intermediate

Context

단순 LLM Wrapper의 한계로 인한 일관성 없는 페르소나 구현 및 단기 기억 상실 문제 발생. 단순 프롬프팅으로는 구현 불가능한 심리적 상태 변화와 인지적 일관성 확보 필요.

Technical Solution

  • LLM 외부에서 작동하는 Backend Simulation Engine을 통한 뇌, 정서, 인지 상태의 독립적 관리
  • Prompt Sentiment 및 Context 기반의 Prefrontal Cortex와 Temporal Lobe 점수 동적 계산 구조
  • Allostatic Load, Trust, Visceral Tension 변수를 통한 캐릭터의 어휘 및 반응성 유기적 제어
  • Structured Persistence Layer 도입을 통한 세션 간 학습 개념 및 기억의 영속성 유지
  • 80명의 역사적 인물별 Cognitive Profiling 데이터를 통한 개별화된 상태 전이 로직 적용

- LLM의 일관성 유지를 위해 외부 State Machine을 통한 상태 제어 고려 - 사용자의 감정 및 문맥을 정량적 지표로 변환하여 AI의 반응 로직에 반영 - 단순 채팅 로그 저장이 아닌 구조화된 지식 계층을 통한 Memory Persistence 설계

원문 읽기