Files
2nd/10_Wiki/Topic_Programming/AI_and_ML/Emotionally Intelligent Tutoring Systems (EITS).md
T
Antigravity Agent 9148c358d0 docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
2026-07-05 00:33:48 +09:00

7.2 KiB

id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id title category status canonical_id aliases duplicate_of source_trust_level confidence_score verification_status tags raw_sources last_reinforced github_commit tech_stack
wiki-2026-0508-emotionally-intelligent-tutoring Emotionally Intelligent Tutoring Systems (EITS) 10_Wiki/Topics verified self
EITS
affective tutor
AutoTutor
emotionally aware ITS
none A 0.93 applied
edtech
ai-tutor
affective-computing
eits
emotion
learning
pedagogy
2026-05-10 pending
language framework
Python Tutoring system / LLM

Emotionally Intelligent Tutoring Systems (EITS)

매 한 줄

"매 student 의 cognitive + emotional 의 동시 의 sense + respond 의 ITS". 매 frustration / boredom / confusion / engagement 의 detect → 매 strategy adjust. 매 famous: AutoTutor (Graesser), Affective AutoTutor. 매 modern: 매 LLM tutor + 매 facial / voice + 매 adaptive prompt.

매 핵심

매 emotion of learning (D'Mello)

  • Engagement: 매 best.
  • Confusion: 매 productive (zone of proximal).
  • Frustration: 매 productive 의 X — 매 detect.
  • Boredom: 매 challenge ↑.

매 affect detection

  • Behavioral: 매 click, dwell, error.
  • Facial: 매 brow furrow.
  • Posture: 매 lean.
  • Speech: 매 hesitation.
  • Self-report: 매 emoji slider.

매 response strategy

  • Frustration → 매 hint, scaffold.
  • Boredom → 매 challenge ↑, novelty.
  • Confusion → 매 dwell, allow.
  • Engagement → 매 maintain.

매 응용

  1. Math tutor: 매 step-by-step.
  2. Language: 매 conversation practice.
  3. Programming: 매 debug help.
  4. Adaptive learning: 매 LMS.
  5. Reading: 매 comprehension.

💻 패턴

Affect detection (multimodal)

class AffectDetector:
    def __init__(self):
        self.face = FacialAnalyzer()
        self.behavior = BehaviorTracker()
    
    def detect(self, frame, log):
        return {
            'engagement': 0.6 * self.face.attention(frame) + 0.4 * self.behavior.click_rate(log),
            'frustration': self.face.brow_furrow(frame) + self.behavior.delete_count(log),
            'confusion': self.behavior.idle_time(log),
            'boredom': self.face.yawn_count(frame) + self.behavior.skip_count(log),
        }

Strategy selector

def select_strategy(affect, mastery):
    if affect['frustration'] > 0.7:
        return 'hint_with_encouragement'
    if affect['boredom'] > 0.6 and mastery > 0.7:
        return 'increase_difficulty'
    if affect['confusion'] > 0.5 and mastery < 0.5:
        return 'review_prerequisite'
    if affect['engagement'] > 0.7:
        return 'maintain_flow'
    return 'check_in'

LLM tutor with affect prompt

def llm_tutor_response(student_msg, affect, history):
    affect_str = f"Frustration: {affect['frustration']:.1f}, Engagement: {affect['engagement']:.1f}"
    
    prompt = f"""You are a patient, emotionally-aware tutor.
Student affect: {affect_str}
{'IMPORTANT: Student frustrated — validate first, then small step.' if affect['frustration'] > 0.6 else ''}
{'IMPORTANT: Student bored — pivot to challenge.' if affect['boredom'] > 0.5 else ''}

History: {history[-3:]}
Student: {student_msg}

Response:"""
    return llm.generate(prompt)

Productive vs unproductive confusion (D'Mello)

def classify_confusion(affect_history, performance):
    duration = affect_history.confusion_duration()
    progress = performance.recent_correct_rate()
    if duration > 60 and progress < 0.3:
        return 'unproductive'  # 매 intervene
    return 'productive'  # 매 let dwell

Mastery-aware (Bayesian Knowledge Tracing)

class BKT:
    def __init__(self, p_init=0.1, p_learn=0.3, p_slip=0.1, p_guess=0.2):
        self.p_known = p_init
        self.p_learn, self.p_slip, self.p_guess = p_learn, p_slip, p_guess
    
    def update(self, correct):
        if correct:
            num = self.p_known * (1 - self.p_slip)
            denom = num + (1 - self.p_known) * self.p_guess
        else:
            num = self.p_known * self.p_slip
            denom = num + (1 - self.p_known) * (1 - self.p_guess)
        self.p_known = num / denom + (1 - num / denom) * self.p_learn

Engagement intervention (recovery)

def recover_engagement(disengaged_for_seconds):
    if disengaged_for_seconds < 30:
        return None
    if 30 <= disengaged_for_seconds < 120:
        return {'type': 'gentle_check_in', 'msg': 'Still with me?'}
    return {'type': 'pivot', 'msg': "Let's try something different."}

Self-report (emoji slider)

<div class="affect-checkin">
  How are you feeling?
  <button data-emotion="frustrated">😤</button>
  <button data-emotion="confused">🤔</button>
  <button data-emotion="bored">😴</button>
  <button data-emotion="engaged">🤩</button>
</div>

Empathy response template

EMPATHIC_OPENERS = {
    'frustrated': ["This one is tricky — that's a normal feeling.", "Let's slow down a bit."],
    'confused': ["I see what's confusing — let me explain differently.", "Good question."],
    'bored': ["Let me show you why this matters.", "Here's a more interesting twist."],
}

def open_response(detected_emotion):
    return random.choice(EMPATHIC_OPENERS.get(detected_emotion, ['']))

A/B test (affect-aware vs not)

def evaluate_eits(group_a_baseline, group_b_eits):
    return {
        'completion_a': mean(s.completed for s in group_a_baseline),
        'completion_b': mean(s.completed for s in group_b_eits),
        'satisfaction_a': mean(s.rating for s in group_a_baseline),
        'satisfaction_b': mean(s.rating for s in group_b_eits),
        'mastery_a': mean(s.mastery for s in group_a_baseline),
        'mastery_b': mean(s.mastery for s in group_b_eits),
    }

매 결정 기준

상황 Approach
Webcam OK Multimodal facial + behavior
No camera Behavioral + self-report
K-12 Strong empathy emphasis
Higher-ed Productive confusion tolerated
Adult learning Less interruption
Mental health risk Clinician escalation path

기본값: 매 multimodal affect + 매 BKT mastery + 매 LLM empathic response + 매 self-report fallback + 매 productive confusion 의 respect.

🔗 Graph

🤖 LLM 활용

언제: 매 tutoring product. 매 K-12. 매 language learning. 언제 X: 매 reference material. 매 assessment-only.

안티패턴

  • Surveillance feel: 매 student 의 creep.
  • All confusion = bad: 매 productive 의 ignore.
  • Static empathy: 매 personalize X.
  • Privacy violation: 매 video 의 cloud send.
  • Validate-only: 매 challenge X.

🧪 검증 / 중복

  • Verified (D'Mello & Graesser, AutoTutor, 2014+ EITS literature).
  • 신뢰도 A.

🕓 Changelog

날짜 변경
2026-04-20 Auto-reinforced
2026-05-08 Phase 1
2026-05-10 Manual cleanup — affect-aware + 매 detect / strategy / BKT / LLM / A/B code