carverauto / threadr

🌎 OSS Real-time AI Data Analysis with GraphDB integration. 🔍
Apache License 2.0
16 stars 1 forks source link
event-driven-architecture generative-ai graphdb intelligence-gathering message-broker ml property-g security social-network-analysis

threadNexus

Description

Create an opensource social graph tool identifying relationships between actors, particularly threat actors, creating graphs and clusters. Identify the strength of relationships Actor-to-Actor or Actor-to-Cluster.

Project Goals

Community

Join us on our https://discord.gg/YnzMAJvb

Embeddings

Chat messages will be run through an embedder or sentence transformer to create vectorizations and will be saved in a vector index.

Graph-RAG

LLMs grounded by knowledge graphs (graph-rag) will be used to answer questions such as "Does Alice know Bob?"

and "What does Alice know about Bob?"

Inferring Relationships

Inferring Relationship Strengths

Like the jibble project, we will use IRC bots to monitor chat rooms and infer relationships between actors. We will use the following methods to infer relationships:

Semantic Inference using an LLM

LLMs can significantly enhance the inference process by understanding the context, sentiment, and the subtleties of human conversation beyond the capabilities of traditional rule-based systems.

Scheduled Summarization: Periodically, the system can invoke an LLM to summarize recent conversations. This not only helps in understanding the general discourse but can also highlight recurring themes or subjects around which relationships may form.

Trigger-based Collection: Implement triggers based on conversational cues, such as pauses in dialogue or shifts in topics, to capture and analyze snapshots of conversations. This method ensures that the analysis is contextually relevant and timely.

Interval-based Analysis: Similar to windowing, this involves examining conversations within set intervals to infer relationships and summarize content. This approach can be dynamically adjusted based on the volume of conversation or specific events within the chat room.

Leader Selection

Analyze conversation to find conversation leaders or the perceived leader, for many different contexts (primary chat, or within a cluster)

Challenges

Visualizing Relationships

Temporal Decay

If we are able to infer the strength of relationships, we can use a temporal decay model to reduce the strength of relationships over time.

Spam Filtering

TBD