altk-evolve
altk-evolve copied to clipboard
Explainability & Provenance
Problem
Users currently have limited visibility into how the learning system works — what guidelines are being generated, which trajectories they were derived from, and how entities are being used in subsequent sessions. This makes it hard for users to understand the value of learned entities and difficult for us to debug the system's behavior for a given user.
Goals
- Make it easy for users to see what guidelines and facts are being generated and which conversation trajectories they were extracted from
- Show how entities are being applied in future sessions (i.e., which entities were retrieved and used for a given task)
- Provide provenance links between entities and their source conversations
- Give users insight into how useful their learned guidelines are over time
- Enable debugging of the learning pipeline for any user — understanding why certain entities were created, retrieved, or missed
Possible Approaches
- Add source trajectory metadata to each entity (session ID, timestamp, relevant conversation excerpt)
- Build a provenance view that links entities back to the conversations that generated them
- Track entity usage — record when an entity is retrieved and whether it influenced the outcome
- Surface entity lineage in a user-facing dashboard or report (e.g., "This guideline was learned from session X and has been applied in sessions Y, Z")
- Add logging/tracing to the learn and recall pipelines for debugging
Success Criteria
- A user can trace any entity back to the conversation it was learned from
- A user can see which entities were used in a given session
- We can debug entity quality issues for a specific user by inspecting the provenance chain