# Technical Document Extraction: Flowchart Analysis
## Diagram Overview
The image depicts a multi-stage computational architecture with sequential and parallel processing components. The diagram uses color-coded blocks to represent different processing stages and mathematical operations.
---
## Component Breakdown
### Left Processing Path
1. **Input Layer**
- `(R₁,..., Rₘ)ⱼ` and `(Z₁,..., Zₘ)ⱼ` → Feed into embedding layer
2. **Embedding Layer**
- `Embedding, 64` → 64-unit embedding layer
3. **Interaction Stack**
- Four sequential `Interaction, 64` layers
- Input: `(x₁,..., xₘ)ⱼ`
- Output: `(x₁,..., xⱼ)` → Feeds into self-interaction blocks
### Central Processing Blocks
1. **Self-Interaction Module (Left)**
- **Input**: `(x₁,..., xⱼ-1)(x₁,..., xⱼ)(x₁,..., xⱼ+1)`
- **Processing**:
- `Self Interaction` → Yellow block
- `atom-wise, mx192` → Orange block (matrix multiplication)
- `abs(y₁,..., yₘ)ⱼ` → Pink block (absolute value)
- `Norm(y₁,..., yⱼ)ⱼ` → Red block (normalization)
- **Output**:
- `P(aj|(x₁,..., xⱼ))` → Conditional probability for action selection
- `∀j∈[0,m]` → Universal quantification over action indices
2. **Self-Interaction Module (Right)**
- Identical structure to left module
- Output: `P(βj|(x₁,..., xⱼ))` → Conditional probability for β parameter
### Right Processing Path
1. **Final Output Layer**
- Input: `(|Fspr|, Fspr·ajFint)ⱼ`
- **Processing**:
- `atom-wise, mx2` → Orange block (matrix multiplication)
- `atom-wise, mx192` → Orange block (matrix multiplication)
- **Output**: Final feature representation
---
## Mathematical Notations
1. **Indexing**:
- Subscript `ⱼ` denotes time step or sequence position
- Superscript `j-1`/`j+1` indicates temporal neighbors
2. **Operations**:
- `mxN`: Matrix multiplication with N-dimensional weight matrix
- `abs()`: Element-wise absolute value
- `Norm()`: L2 normalization
3. **Probability Distributions**:
- `P(aj|x)`: Action probability distribution
- `P(βj|x)`: Parameter probability distribution
---
## Color-Coded Component Mapping
| Color | Component Type | Quantity |
|-----------|----------------------|----------|
| Green | Embedding Layer | 1 |
| Yellow | Self Interaction | 2 |
| Orange | Matrix Multiplication| 4 |
| Pink | Absolute Value | 2 |
| Red | Normalization | 2 |
---
## Data Flow Diagram