[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111279":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":9,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},111279,"TAGNet-CS2","weyoung-open-lab\u002FTAGNet-CS2","weyoung-open-lab","Code, data and trained models for \"TAGNet: Temporal Attention Graph Network for Defensive Tactical Pattern Recognition in Professional Counter-Strike 2\" (IEEE Transactions on Games, 2026). Mirror of zhangx1ang03620\u002FTAGNet-CS2.",null,"Python",68,4,62,0,3,6,44.2,"MIT License",false,"main",[],"2026-10-22 20:35:15","2026-11-18 23:03:08","\u003Ch1 align=\"center\">TAGNet\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Cb>Temporal Attention Graph Network for Defensive Tactical Pattern Recognition in Professional Counter-Strike 2\u003C\u002Fb>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fieeexplore.ieee.org\u002Fdocument\u002F11744413\">\u003Cimg alt=\"Paper\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPaper-IEEE%20Transactions%20on%20Games%202026-00629B\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdoi.org\u002F10.1109\u002FTG.2026.3745970\">\u003Cimg alt=\"DOI\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDOI-10.1109%2FTG.2026.3745970-blue\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg alt=\"License: MIT\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-green.svg\">\u003C\u002Fa>\n  \u003Cimg alt=\"Python\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.11%20%7C%203.13-3776AB\">\n  \u003Cimg alt=\"PyTorch\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPyTorch-2.x-EE4C2C\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cb>English\u003C\u002Fb> | \u003Ca href=\"README_zh-CN.md\">简体中文\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Ffigures\u002Ffig1_workflow.png\" width=\"100%\" alt=\"TAGNet pipeline\">\n\u003C\u002Fp>\n\nCode, processed data and reference outputs for the paper\n\n> X. Zhang, R. Zhang, G. Chen, X. Cao, C. Yue, and C. Yuan, \"TAGNet: Temporal Attention Graph Network for Defensive Tactical Pattern Recognition in Professional Counter-Strike 2,\" *IEEE Transactions on Games*, early access, 2026, doi: [10.1109\u002FTG.2026.3745970](https:\u002F\u002Fdoi.org\u002F10.1109\u002FTG.2026.3745970).\n\nTAGNet represents the five CT players of a professional CS2 round on Dust2 as a fully connected player graph at five moments after the freeze time ends (10, 12, 15, 18 and 20 s). A distance-aware graph attention encoder, trained without labels, embeds each snapshot; the snapshot sequence and a per-snapshot match-context vector are aggregated in temporal order by a GRU into a 64-dimensional round embedding, and K-Means on these embeddings yields six defensive patterns (C0–C5). The patterns are then related to economy, score state and previous-round information, and summarised per team.\n\n## Highlights\n\n- **Distance-aware graph attention.** The distance between two players enters every attention score through a learned bias, so the encoder learns how strongly spatial proximity shapes their interaction.\n- **No tactical labels.** The encoder is trained by reconstructing, at every snapshot, where the five players stand, how they occupy the A \u002F B \u002F Mid \u002F CT areas, and how far apart they are.\n- **Six interpretable defensive patterns** discovered on 697 CT rounds from 33 top-tier matches, from anchor defence (C0) to aggressive forward pressure (C5).\n- **Context matters.** CT economy type is the strongest predictor of the chosen pattern (χ² = 96.25, Holm-corrected p \u003C 0.001), and aggressive forward pressure (C5) is used significantly more often when trailing (p \u003C 0.01).\n- **Fully reproducible.** Processed data, trained checkpoints and the outputs of every run in the paper are included; `.\u002Freproduce.sh` rebuilds the main results in about two minutes on a laptop CPU. \n\n## Six defensive patterns\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Ffigures\u002Ffig3_cluster_heatmaps.png\" width=\"85%\" alt=\"CT positioning heatmaps of the six clusters at 15 s\">\n\u003C\u002Fp>\n\n| Cluster | Pattern | Rounds | A \u002F B share at 15 s | CT round win rate |\n|---|---|---:|:---:|---:|\n| C0 | Anchor-A Biased | 124 | 0.59 \u002F 0.37 | 57.3% |\n| C1 | Default Balanced | 109 | 0.53 \u002F 0.28 | 49.5% |\n| C2 | B-Biased Double-Point | 115 | 0.40 \u002F 0.42 | 59.1% |\n| C3 | Mid-Control Balanced | 151 | 0.34 \u002F 0.33 | 44.4% |\n| C4 | A-Long+Mid | 136 | 0.59 \u002F 0.21 | 52.2% |\n| C5 | Aggressive A-Heavy Push | 62 | 0.69 \u002F 0.15 | 24.2% |\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Ffigures\u002Ffig4_tsne.png\" alt=\"t-SNE of round embeddings\">\u003C\u002Ftd>\n    \u003Ctd width=\"50%\">\u003Cimg src=\"docs\u002Ffigures\u002Ffig5_area_over_time.png\" alt=\"Area occupancy over time\">\u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd align=\"center\">\u003Cem>t-SNE of the 697 round embeddings (Fig. 4)\u003C\u002Fem>\u003C\u002Ftd>\n    \u003Ctd align=\"center\">\u003Cem>How each pattern evolves between 10 and 20 s (Fig. 5)\u003C\u002Fem>\u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Ffigures\u002Ffig6_team_style.png\" width=\"100%\" alt=\"Team fingerprints and style similarity\">\n  \u003Cbr>\u003Cem>Team tactical fingerprints and style similarity (Fig. 6)\u003C\u002Fem>\n\u003C\u002Fp>\n\nAll figures are taken from the paper and can be regenerated with the scripts below.\n\n---\n\n## Contents\n\n```\nTAGNet-CS2\u002F\n├── scripts\u002F                     Main pipeline\n│   ├── parse_demos.py           .dem  -> per-match Awpy tables (Parquet)\n│   ├── prepare_data.py          per-match tables -> model-ready dataset\n│   ├── train_tagnet.py          model definition and training\n│   ├── analyze_results.py       K selection, clustering, statistics, t-SNE\n│   ├── visualize_results.py     figures from the analysis outputs\n│   ├── extract_attention.py     attention matrices of the trained encoder\n│   ├── team_fingerprints_by_name.py   team fingerprints \u002F similarity (Fig. 6)\n│   ├── ablation_table.py        ablation table (Table VI)\n│   ├── make_paper_figures.py    published versions of Figs. 3-9\n│   ├── search_architecture.py   architecture search over GAT\u002FGRU sizes\n│   └── compare_clusterers.py    K-Means vs. other clusterers on the embeddings\n├── supplementary\u002F               Robustness checks of Section IV-K\n│   ├── train_variants.py        temporal \u002F graph \u002F distance \u002F position variants\n│   ├── run_supplement_suite.py  all variants x 5 seeds\n│   ├── summarize_supplement.py  Table VIII\n│   ├── rule_baseline.py         rule-based positional baseline (Table VII)\n│   └── holm_correction.py       Holm correction (Table IX)\n├── data\u002F                        Processed data (see data\u002FREADME.md)\n├── results\u002F                     Outputs of the runs reported in the paper\n├── docs\u002Ffigures\u002F                Figures shown in this README\n├── reproduce.sh                 one-command check of the main results\n├── README_zh-CN.md              Chinese version of this file\n├── requirements.txt\n├── CITATION.cff\n└── LICENSE\n```\n\n## Installation\n\n```bash\npython -m venv .venv\nsource .venv\u002Fbin\u002Factivate\npip install -r requirements.txt\n```\n\nThe release was verified with Python 3.13 on CPU (versions pinned in `requirements.txt`); the original experiments ran on Python 3.11 with a CUDA GPU. A GPU is not required: training one model takes about 15 s on a laptop CPU. `awpy` is only needed for `parse_demos.py`, and it must be version 2.0.2 (Awpy 3 changed its API).\n\n## Data\n\n`data\u002Fprocessed\u002F` contains the dataset used in the paper, in Parquet and CSV, so all experiments can be rerun without the raw demos: 697 CT-side rounds from 33 professional Dust2 matches (HLTV, 2024–2025), split by match into 486 \u002F 95 \u002F 116 train \u002F validation \u002F test rounds. `data\u002Fmatch_list.csv` lists the matches and `data\u002FREADME.md` documents every file and column.\n\nThe raw demos are not redistributed; they are publicly available on HLTV. To build a dataset from demos with the same procedure, run:\n\n```bash\npython scripts\u002Fparse_demos.py --demo-dir path\u002Fto\u002Fdemos --output-root data\u002Fparsed\npython scripts\u002Fprepare_data.py --dataset-root data\u002Fparsed \\\n    --output-root data\u002Fprocessed\u002Fdust2_ct_5snap --snapshot-seconds 10 12 15 18 20\n```\n\n`prepare_data.py` takes the team names from the folder name, so each parsed folder should be named like the `match_id` in `match_list.csv` (use `--name-map` in `parse_demos.py`).\n\n## Quick start\n\nTo rebuild the main tables and figures from the released checkpoint and compare the key numbers with the paper (about two minutes on a laptop CPU):\n\n```bash\n.\u002Freproduce.sh\n```\n\nOutputs are written to `runs\u002Freproduce\u002F`, and the script ends by printing the selected K, the cluster sizes and the economy-type chi-square next to the values reported in the paper.\n\nTo train the model from scratch and run the same analysis:\n\n```bash\n# 1. Train TAGNet (3 graph-attention layers, 1-layer GRU, seed 42)\npython scripts\u002Ftrain_tagnet.py --gat-layers 3 --k-list 3 4 5 6 7 8 9 10 \\\n    --run-root runs --run-name tagnet\n\n# 2. K selection (K = 2..15), K-Means with the selected K, statistics, t-SNE\npython scripts\u002Fanalyze_results.py --run-dir runs\u002Ftagnet\n\n# 3. Figures, attention matrices and team-level summaries\npython scripts\u002Fvisualize_results.py --analysis-dir runs\u002Ftagnet_analysis\npython scripts\u002Fextract_attention.py --run-dir runs\u002Ftagnet --analysis-dir runs\u002Ftagnet_analysis\npython scripts\u002Fteam_fingerprints_by_name.py --analysis-dir runs\u002Ftagnet_analysis\n```\n\nWithout arguments, the analysis scripts read the reference run in `results\u002Ftagnet_main\u002Frun` and write into `results\u002Ftagnet_main\u002Frun_analysis`, so steps 2–3 can be run directly on the checkpoint used in the paper.\n\n## Reproducing each table and figure\n\n| Paper | Command | Output |\n|---|---|---|\n| Table I | `prepare_data.py` | `data\u002Fprocessed\u002Fdust2_ct_5snap\u002Fsummary.json`, `splits.json` |\n| Table III (TAGNet) | `train_tagnet.py --gat-layers 3` | `run_summary.json`, `training_history.csv` |\n| Table III (baseline) | `train_tagnet.py --gat-layers 2 --legacy-baseline-encoder --data-dir data\u002Fprocessed\u002Fdust2_ct_3snap` | same files; see note 1 below |\n| Table IV | `analyze_results.py` | `k_selection_metrics.csv`, `figures\u002Ffig_k_selection.*` |\n| Fig. 3 | `make_paper_figures.py` (base map from `build_map_mask.py`) | `paper_figures\u002Ffig3_cluster_heatmaps.*` |\n| Fig. 4 | `analyze_results.py`, `visualize_results.py` | `tsne_coordinates.parquet`, `figures\u002Ffig_tsne_clusters.*` |\n| Fig. 5 | `analyze_results.py`, `visualize_results.py` | `cluster_profiles.csv`, `figures\u002Ffig_cluster_area_over_time.*` |\n| Fig. 6(a) | `team_fingerprints_by_name.py` | `team_style_fingerprints_by_name.csv` |\n| Fig. 6(b) | `team_fingerprints_by_name.py` | `team_style_similarity_by_name_pairs.csv` (similarity = 1 − cosine distance) |\n| Table V, Fig. 7(a) | `analyze_results.py` | `context_trigger_tests.csv` |\n| Fig. 8 | `analyze_results.py` | `h2_score_state_paired_ttest.csv`, `h2_score_state_team_pairs.csv` |\n| Table VI | `train_tagnet.py` with `--no-context`, `--no-graph`, `--single-snapshot 15`; then `ablation_table.py` | `results\u002Fablations\u002Fablation_table.csv` |\n| Table VII, Fig. 9(a) | `supplementary\u002Frule_baseline.py` | `baseline_metrics.json`, `final_area_config_counts.csv` |\n| Table VIII, Fig. 9(b) | `supplementary\u002Frun_supplement_suite.py`, then `summarize_supplement.py` | `original_protocol_summary.csv` |\n| Table IX, Fig. 7(b), Holm column of Table V | `supplementary\u002Fholm_correction.py` | `holm_summary.csv` and the corrected test tables |\n\n`scripts\u002Fmake_paper_figures.py` draws the published versions of Figs. 3–9, plus the training curves, K-selection curves and ablation radar chart, from the files in `results\u002F` (vector PDF and 600 dpi PNG, sized for the IEEE layout) into `results\u002Fpaper_figures\u002F`. Figs. 1 and 2 are diagrams. The grey base map of Fig. 3 is the Dust2 walkable area estimated from player positions in parsed demos (`data\u002Fmap\u002Fdust2_walkable_mask.npz`, built by `scripts\u002Fbuild_map_mask.py`), so no game asset is redistributed.\n\nFull commands for the supplementary experiments:\n\n```bash\npython supplementary\u002Frun_supplement_suite.py              # runs\u002Fsupplementary\u002F\u003Cvariant>_seed\u003Cn>\npython supplementary\u002Fsummarize_supplement.py --run-root runs\u002Fsupplementary \\\n    --output-dir runs\u002Fsupplementary_summary\npython supplementary\u002Frule_baseline.py --data-dir data\u002Fprocessed\u002Fdust2_ct_5snap \\\n    --tagnet-run-dir results\u002Ftagnet_main\u002Frun --output-dir runs\u002Frule_baseline\npython supplementary\u002Fholm_correction.py --analysis-dir results\u002Ftagnet_main\u002Frun_analysis \\\n    --output-dir runs\u002Fholm\n```\n\n## Method\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Ffigures\u002Ffig2_architecture.png\" width=\"100%\" alt=\"TAGNet architecture\">\n  \u003Cbr>\u003Cem>TAGNet architecture (Fig. 2)\u003C\u002Fem>\n\u003C\u002Fp>\n\n**Input.** For each round and snapshot, five CT player nodes with 22 features: a one-hot of 20 named Dust2 places, health \u002F 100, and log(1 + equipment value) min-max scaled with training-split bounds. Edges connect all player pairs; the edge attribute is the planar (X, Y) Euclidean distance divided by the largest pairwise distance in the training split (4215.87 units).\n\n**Snapshot encoder** (`SnapshotEncoder`, 3 layers, width 64). Each layer is single-head scaled dot-product attention over the five players, `softmax(LeakyReLU(QKᵀ\u002F√d + b(w_ij)))V`, where `b(·)` is a small MLP (1 → 64 → 1, GELU) of the normalized distance `w_ij`, followed by LayerNorm, and then a residual feed-forward block with LayerNorm. Mean pooling over players gives the snapshot embedding `g_k ∈ R⁶⁴`.\n\n**Context and temporal aggregation.** A 25-dimensional context vector is built for every snapshot: CT and T equipment value (2), score difference (1), number of CT smokes and molotovs thrown so far (2), share of those smokes and molotovs thrown from A \u002F B \u002F Mid \u002F CT (8), pistol-round flag (1), CT economy type (4), previous-round attack site (4) and previous-round winner (3). A two-layer MLP maps it to 32 dimensions; `[g_k ‖ c'_k]` (96-d) is fed to a one-layer GRU with hidden size 64, and its final hidden state is the round embedding `z`.\n\n**Objective.** Three heads decode each snapshot embedding `g_k`: the distribution of the five players over the 20 places (softmax), over the four macro areas A \u002F B \u002F Mid \u002F CT (softmax), and the 10 normalized pairwise distances (sigmoid). Each is an MSE loss averaged over the five snapshots; the total loss is `1.0·L_place + 0.5·L_area + 1.0·L_dist`. Because the heads read `g_k` directly, this loss does not depend on the context MLP or the GRU. These two modules keep their seeded initialization and act as a fixed, order-aware recurrent aggregator of the learned snapshot embeddings and the context, in the spirit of the untrained reservoirs of echo state networks; all representation learning takes place in the graph attention encoder. The supplementary variants use the same setup.\n\n**Training.** AdamW (learning rate 1e-3, weight decay 1e-4), batch size 64 in fixed order, gradient clipping at 5.0, at most 40 epochs with early stopping on validation loss (patience 10), `torch.manual_seed(42)`.\n\n**Clustering and K selection.** `analyze_results.py` runs scikit-learn K-Means (`n_init=20`, `random_state=42`) on all 697 embeddings for K = 2…15, ranks every K by silhouette (descending), Davies–Bouldin (ascending) and Calinski–Harabasz (descending) using dense ranks over all 14 candidates, and selects the K with the lowest mean rank (K = 6, mean rank 4.33). Table IV in the paper lists the rows K ≤ 8 of this ranking. `train_tagnet.py` also runs a simple K-Means on the embeddings at the end of training and stores, for each K in `--k-list`, the assignments and silhouette (`k_metrics.json`, `best_k_by_silhouette`); these training-stage partitions are only used for the ablation table.\n\n**Cluster names.** `analyze_results.py` drafts a name for each cluster with a fixed threshold rule on the cluster's 15 s area shares (`infer_tactical_name`); the output is `cluster_naming_heuristic.csv`. The score in that file is a constant attached to each rule, not a human rating.\n\n## Reference results and verification\n\n`results\u002F` contains the original outputs (GPU) of every run reported in the paper:\n\n| Folder | Run |\n|---|---|\n| `tagnet_main\u002Frun` | TAGNet, seed 42 (main results) |\n| `tagnet_main\u002Frun_analysis` | analysis, figures and attention matrices of that run |\n| `tagnet_main\u002Frun_clusterer_compare` | K-Means vs. other clusterers |\n| `baseline_2layer_3snap\u002Frun` | 2-layer baseline of Table III |\n| `ablations\u002F{no_context,no_graph,single_snapshot_15s}` | ablations of Table VI |\n| `architecture_search` | architecture search summary |\n| `supplementary\u002Fruns\u002F\u003Cvariant>_seed\u003Cn>` | 8 supplementary variants × 5 seeds |\n| `supplementary\u002F{summary,rule_baseline,holm}` | Tables VII–IX |\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Ffigures\u002Ffig9_supplementary.png\" width=\"85%\" alt=\"Supplementary variants\">\n  \u003Cbr>\u003Cem>Test loss and cross-seed agreement of the supplementary checks (Fig. 9)\u003C\u002Fem>\n\u003C\u002Fp>\n\nAll analysis outputs in `results\u002F` were regenerated with the code in this repository from the stored checkpoints and embeddings, and agree with the outputs used for the paper: all statistical and clustering tables to within 1e-11, and the attention matrices (recomputed on CPU from the GPU checkpoint) to within 1e-6. The exception is the t-SNE coordinates, which depend on the scikit-learn version. The layout shown in Fig. 4 is kept in `tagnet_main\u002Frun_analysis\u002Ftsne_coordinates_paper_fig6.parquet`.\n\nRetraining from scratch on CPU gives:\n\n| Run | Test loss, paper run (GPU) | Test loss, retrained (CPU) |\n|---|---:|---:|\n| TAGNet | 0.008583 | 0.008583 |\n| 2-layer baseline (`--legacy-baseline-encoder`, 3 snapshots) | 0.009426 | 0.009426 |\n| w\u002Fo graph structure | 0.014291 | 0.014291 |\n| w\u002Fo context | 0.008551 | 0.008554 |\n| w\u002Fo temporal module (15 s only) | 0.009026 | 0.009086 |\n\nSmall differences between CPU and GPU runs are expected from floating-point non-determinism and can change the early-stopping epoch.\n\nThe losses are reproduced, but the clustering is sensitive to these small differences. On the CPU retrain of TAGNet (seed 42), the round embeddings differ from the GPU run by at most 0.075. The K = 6 partition then agrees with the one used in the paper at ARI = 0.68 (cluster sizes 82\u002F102\u002F105\u002F124\u002F133\u002F151 instead of 62\u002F109\u002F115\u002F124\u002F136\u002F151), and the mean-rank rule selects K = 2. This is in line with the cross-seed ARI of about 0.52 reported in Section IV-K. To reproduce the clusters, figures and statistics of the paper exactly, run the analysis on the released checkpoint and embeddings in `results\u002Ftagnet_main\u002Frun`, as the default arguments do. The K-Means partition also depends on the row order of the embedding file; keep the order written by `train_tagnet.py`.\n\n## Notes and known limitations\n\n1. **Baseline of Table III.** The 2-layer baseline comes from an earlier version of the pipeline. It differs from TAGNet in three ways: two attention layers instead of three, one feed-forward block and LayerNorm shared by both layers instead of one per layer, and three snapshots (10\u002F15\u002F20 s, `data\u002Fprocessed\u002Fdust2_ct_3snap`) instead of five. `--legacy-baseline-encoder` reproduces it exactly.\n2. **Ablation table.** Each variant in Table VI is evaluated on its training-stage partition at its own best K (`best_k_by_silhouette`; K = 8 for the full model), not on the K = 6 partition used for the tactical analysis. `ablation_table.py` reproduces the table; for the full model the paper's DBI and CH values (1.7094, 104.67) are the scikit-learn K = 8 values from `k_selection_metrics.csv`, while `ablation_table.py` gives 1.7097 and 104.65 on the training-stage partition.\n3. **Navmesh geodesic variants.** The prepared dataset with navmesh geodesic edge distances, and the code that computed those distances, are not included. The trained runs and their results are in `results\u002Fsupplementary\u002Fruns\u002Fnav_geodesic*`; `run_supplement_suite.py` skips these two variants when the dataset is missing.\n4. **Demo parsing.** `parse_demos.py` generalizes the export step of the original single-demo notebook to a batch script. With Awpy 2.0.2 it produces exactly the tick columns of the original parsed matches, and `prepare_data.py` reproduces the released node, edge and context tables for the three matches whose original parsed folders were available for checking.\n5. Checkpoints store the training arguments, including absolute paths on the machine used for the experiments.\n\n## Citation\n\n```bibtex\n@article{zhang2026tagnet,\n  author  = {Zhang, Xiang and Zhang, RongQi and Chen, Guancheng and Cao, Xinlei and Yue, ChaoFan and Yuan, Chunhong},\n  title   = {{TAGNet}: Temporal Attention Graph Network for Defensive Tactical Pattern Recognition in Professional {Counter-Strike} 2},\n  journal = {IEEE Transactions on Games},\n  year    = {2026},\n  doi     = {10.1109\u002FTG.2026.3745970},\n  note    = {Early Access}\n}\n```\n\n## License\n\nCode is released under the MIT License (see `LICENSE`). The processed data are derived from publicly available tournament demos and are provided for research use.\n\n## Acknowledgements\n\nDemo parsing uses [Awpy](https:\u002F\u002Fgithub.com\u002Fpnxenopoulos\u002Fawpy) (P. Xenopoulos, W. R. Freeman, and C. Silva, \"Analyzing the Differences between Professional and Amateur Esports through Win Probability,\" WWW 2022).\n  \n","TAGNet 是一个面向《反恐精英2》（CS2）职业比赛的无监督战术模式识别模型，用于自动发现和分类CT方防守战术模式。其核心采用距离感知图注意力机制建模五名CT玩家在关键时间点的空间关系，并结合时序GRU聚合多帧图嵌入，最终通过聚类得到6种可解释的防守模式（如锚点防守、前压进攻等）；全程无需人工战术标注，仅依赖玩家位置与区域占用数据进行自监督训练。项目适用于电子竞技分析、职业战队战术复盘、游戏AI行为建模及体育数据科学等场景。",2,"2026-11-24 04:40:40","CREATED_QUERY"]