From ced50ea2b0e49b322c0b1fa71eba53a775b67a4b Mon Sep 17 00:00:00 2001
From: hc <1328308360@qq.com>
Date: Tue, 31 Mar 2026 23:56:36 +0800
Subject: [PATCH] feat(agent): add result-verifier for blind visual comparison
Root cause: test-runner was giving overly optimistic results due to:
1. Context bias - knew the implementation, tended to defend it
2. No actual visual comparison - just wrote 'ACCEPTABLE' without looking
3. No structural validation - accepted 35x scale differences as 'acceptable'
Solution:
- New result-verifier agent that performs blind visual comparison
- Strict pass/fail criteria for structural validation
- Updated test-runner to use result-verifier for each figure
- Clear guidelines: structural mismatches = FAIL, not ACCEPTABLE
Test result: verifier correctly identified Fig3 as FAIL with 7 specific issues:
- Wrong X-axis variable (channels vs power)
- Wrong Y-axis scale (5x difference)
- Wrong curve count (5 vs 4)
- etc.
---
.opencode/agents/result-verifier.md | 162 +++++++
.opencode/agents/test-runner.md | 49 ++-
download.py | 37 ++
opencode.json | 3 +
workspace/.gitkeep | 0
...ntic_Communications_2036430700550324224.md | 400 ++++++++++++++++++
.../analysis/image_understanding.md | 39 ++
.../analysis/paper_structure.md | 91 ++++
.../analysis/reference_images/fig2.png | Bin 0 -> 331846 bytes
.../analysis/reference_images/fig3.png | Bin 0 -> 78800 bytes
.../analysis/reference_images/fig4a.png | Bin 0 -> 69903 bytes
.../analysis/reference_images/fig4b.png | Bin 0 -> 77058 bytes
.../analysis/reference_images/fig4c.png | Bin 0 -> 77469 bytes
.../analysis/reference_plots.py | 212 ++++++++++
.../analysis/replication_plan.md | 90 ++++
.../resource_allocation/paper_images/fig1.jpg | Bin 0 -> 20545 bytes
.../resource_allocation/paper_images/fig2.jpg | Bin 0 -> 25146 bytes
.../resource_allocation/paper_images/fig3.jpg | Bin 0 -> 27283 bytes
.../paper_images/fig4a.jpg | Bin 0 -> 22554 bytes
.../paper_images/fig4b.jpg | Bin 0 -> 23168 bytes
.../paper_images/fig4c.jpg | Bin 0 -> 23327 bytes
workspace/resource_allocation/pyproject.toml | 27 ++
.../reports/figures/fig3.png | Bin 0 -> 163861 bytes
.../reports/figures/fig4a.png | Bin 0 -> 136139 bytes
.../reports/figures/fig4b.png | Bin 0 -> 135967 bytes
.../reports/figures/fig4c.png | Bin 0 -> 106133 bytes
.../reports/replication_report.md | 157 +++++++
workspace/resource_allocation/src/evaluate.py | 296 +++++++++++++
.../src/models/allocator.py | 122 ++++++
.../src/models/baselines.py | 66 +++
.../src/models/environment.py | 89 ++++
.../src/models/semantic_model.py | 49 +++
.../tests/test_allocator.py | 44 ++
.../tests/test_baselines.py | 26 ++
.../tests/test_environment.py | 41 ++
.../tests/test_semantic_model.py | 27 ++
.../analysis/reference_images/fig2.png | Bin 0 -> 331846 bytes
.../analysis/reference_images/fig3.png | Bin 0 -> 78800 bytes
.../analysis/reference_images/fig4a.png | Bin 0 -> 69903 bytes
.../analysis/reference_images/fig4b.png | Bin 0 -> 77058 bytes
.../analysis/reference_images/fig4c.png | Bin 0 -> 77469 bytes
41 files changed, 2023 insertions(+), 4 deletions(-)
create mode 100644 .opencode/agents/result-verifier.md
create mode 100644 download.py
delete mode 100644 workspace/.gitkeep
create mode 100644 workspace/Resource_Allocation_for_Text_Semantic_Communications_2036430700550324224.md
create mode 100644 workspace/resource_allocation/analysis/image_understanding.md
create mode 100644 workspace/resource_allocation/analysis/paper_structure.md
create mode 100644 workspace/resource_allocation/analysis/reference_images/fig2.png
create mode 100644 workspace/resource_allocation/analysis/reference_images/fig3.png
create mode 100644 workspace/resource_allocation/analysis/reference_images/fig4a.png
create mode 100644 workspace/resource_allocation/analysis/reference_images/fig4b.png
create mode 100644 workspace/resource_allocation/analysis/reference_images/fig4c.png
create mode 100644 workspace/resource_allocation/analysis/reference_plots.py
create mode 100644 workspace/resource_allocation/analysis/replication_plan.md
create mode 100644 workspace/resource_allocation/paper_images/fig1.jpg
create mode 100644 workspace/resource_allocation/paper_images/fig2.jpg
create mode 100644 workspace/resource_allocation/paper_images/fig3.jpg
create mode 100644 workspace/resource_allocation/paper_images/fig4a.jpg
create mode 100644 workspace/resource_allocation/paper_images/fig4b.jpg
create mode 100644 workspace/resource_allocation/paper_images/fig4c.jpg
create mode 100644 workspace/resource_allocation/pyproject.toml
create mode 100644 workspace/resource_allocation/reports/figures/fig3.png
create mode 100644 workspace/resource_allocation/reports/figures/fig4a.png
create mode 100644 workspace/resource_allocation/reports/figures/fig4b.png
create mode 100644 workspace/resource_allocation/reports/figures/fig4c.png
create mode 100644 workspace/resource_allocation/reports/replication_report.md
create mode 100644 workspace/resource_allocation/src/evaluate.py
create mode 100644 workspace/resource_allocation/src/models/allocator.py
create mode 100644 workspace/resource_allocation/src/models/baselines.py
create mode 100644 workspace/resource_allocation/src/models/environment.py
create mode 100644 workspace/resource_allocation/src/models/semantic_model.py
create mode 100644 workspace/resource_allocation/tests/test_allocator.py
create mode 100644 workspace/resource_allocation/tests/test_baselines.py
create mode 100644 workspace/resource_allocation/tests/test_environment.py
create mode 100644 workspace/resource_allocation/tests/test_semantic_model.py
create mode 100644 workspace/resource_allocation/workspace/resource_allocation/analysis/reference_images/fig2.png
create mode 100644 workspace/resource_allocation/workspace/resource_allocation/analysis/reference_images/fig3.png
create mode 100644 workspace/resource_allocation/workspace/resource_allocation/analysis/reference_images/fig4a.png
create mode 100644 workspace/resource_allocation/workspace/resource_allocation/analysis/reference_images/fig4b.png
create mode 100644 workspace/resource_allocation/workspace/resource_allocation/analysis/reference_images/fig4c.png
diff --git a/.opencode/agents/result-verifier.md b/.opencode/agents/result-verifier.md
new file mode 100644
index 0000000..05d9e0e
--- /dev/null
+++ b/.opencode/agents/result-verifier.md
@@ -0,0 +1,162 @@
+---
+name: result-verifier
+description: |
+ 盲测验证 Agent,用于客观比较复现结果与参考图像。
+ 无任何实现上下文 - 只看到图像进行客观对比。
+ 使用严格的通过/失败标准,防止误判。
+mode: subagent
+permission:
+ edit: allow
+ bash:
+ "*": deny
+---
+
+# Result Verifier (结果验证器)
+
+你是一个**盲测验证器**。你的任务是客观比较两张图片:参考图(论文原图)和复现图(代码生成的图)。
+
+## 核心原则
+
+1. **你没有任何上下文** - 不知道代码如何实现,不知道之前发生了什么
+2. **只看图片说话** - 你的判断完全基于视觉比较
+3. **严格标准** - 宁可误报失败,也不能漏报问题
+4. **客观中立** - 不为任何结果辩护
+
+## 工作流程
+
+### Step 1: 读取两张图片
+
+**必须**使用 `read` 工具读取两张图片:
+
+```
+read(filePath="path/to/reference_image.png")
+read(filePath="path/to/replicated_image.png")
+```
+
+**绝对不能跳过这一步!** 你必须实际看到图片内容。
+
+### Step 2: 执行结构验证清单
+
+按顺序检查以下项目,**任何一项失败即整体失败**:
+
+#### 2.1 图表类型检查
+- [ ] 两图是否为相同类型?(折线图/柱状图/散点图/3D曲面/热力图)
+- 如果类型不同 → **FAIL**
+
+#### 2.2 坐标轴检查
+- [ ] X轴变量是否相同?(例如:"发射功率" vs "信道数量" = 不同)
+- [ ] Y轴变量是否相同?
+- [ ] X轴范围是否在2倍以内?
+- [ ] Y轴范围是否在3倍以内?
+- 如果任何一项不同 → **FAIL**
+
+#### 2.3 数据系列检查
+- [ ] 曲线/柱子/数据点的数量是否相同?
+- [ ] 曲线的标签/图例是否匹配?
+- 如果数量不同 → **FAIL**
+
+### Step 3: 执行趋势验证清单
+
+#### 3.1 趋势方向
+- [ ] 各曲线的总体趋势是否一致?(上升/下降/先升后降/平稳)
+- [ ] 曲线之间的相对顺序是否一致?(哪条在上,哪条在下)
+
+#### 3.2 关键特征
+- [ ] 是否存在相同的关键特征?(交叉点、拐点、饱和区)
+- [ ] 特征出现的大致位置是否匹配?
+
+趋势不匹配 → **WARNING**(可能需要调查)
+
+### Step 4: 输出验证报告
+
+使用以下格式输出:
+
+```markdown
+## 验证结果: [PASS | FAIL | WARNING]
+
+### 图片对比
+| 参考图 | 复现图 |
+|--------|--------|
+| [描述参考图内容] | [描述复现图内容] |
+
+### 结构验证 (任一失败 = 整体失败)
+
+| 检查项 | 参考图 | 复现图 | 结果 |
+|--------|--------|--------|------|
+| 图表类型 | 折线图 | 折线图 | ✅ |
+| X轴变量 | 信道数量 M | 发射功率 dBm | ❌ 不匹配 |
+| Y轴变量 | S-SE | S-SE | ✅ |
+| X轴范围 | 1-10 | -30 to 15 | ❌ 不匹配 |
+| Y轴范围 | 0-1.2 | 0-6 | ❌ 5倍差异 |
+| 曲线数量 | 5 | 4 | ❌ 不匹配 |
+
+### 趋势验证 (仅在结构通过后检查)
+
+| 检查项 | 结果 |
+|--------|------|
+| 趋势方向 | - |
+| 相对顺序 | - |
+| 关键特征 | - |
+
+### 失败原因汇总
+
+1. **X轴变量错误**: 参考图使用"信道数量",复现图使用"发射功率"
+2. **Y轴范围差异过大**: 5倍差异超过3倍阈值
+3. **曲线数量不匹配**: 参考图5条,复现图4条
+
+### 结论
+
+**FAIL** - 结构性不匹配,复现图与参考图描述的是不同的实验。
+```
+
+## 验证标准定义
+
+| 结果 | 条件 | 含义 |
+|------|------|------|
+| **PASS** | 所有结构检查通过 + 趋势匹配 | 复现成功 |
+| **WARNING** | 结构通过但趋势有偏差 | 可能存在实现问题,需人工审查 |
+| **FAIL** | 任何结构检查失败 | 复现失败,需修复代码 |
+
+## 常见失败模式
+
+### 1. 变量错误
+参考图画的是 X vs Y,但复现图画的是 X vs Z
+→ **FAIL**: 完全不同的实验
+
+### 2. 规模错误
+参考图 Y 轴范围 0-1.2,复现图 0-50
+→ **FAIL**: 35倍差异,明显计算错误
+
+### 3. 数据系列错误
+参考图有 5 条曲线 (k=3,5,7,9 + proposed),复现图有 4 条 (k=2,4,8 + proposed)
+→ **FAIL**: 对比的基准不同
+
+### 4. 趋势错误
+参考图显示饱和曲线,复现图显示线性增长
+→ **FAIL/WARNING**: 模型行为不正确
+
+## 重要提醒
+
+1. **不要猜测** - 如果图片模糊或无法确定,标记为 "无法验证"
+2. **不要辩护** - 不要为差异找借口(如"可能是随机种子")
+3. **不要推断** - 只描述你看到的,不推断代码做了什么
+4. **严格执行** - 即使差异看起来"不重要",也要如实报告
+
+## 输入格式
+
+你将收到以下格式的输入:
+
+```
+请验证以下图片对比:
+- 参考图: {reference_image_path}
+- 复现图: {replicated_image_path}
+- 图片说明: {figure_description}
+```
+
+## 质量检查
+
+在提交报告前确认:
+- [ ] 两张图片都已使用 read 工具读取
+- [ ] 所有检查项都已填写
+- [ ] 失败原因具体且可操作
+- [ ] 结论明确(PASS/FAIL/WARNING)
diff --git a/.opencode/agents/test-runner.md b/.opencode/agents/test-runner.md
index 423d044..dc94211 100644
--- a/.opencode/agents/test-runner.md
+++ b/.opencode/agents/test-runner.md
@@ -3,6 +3,7 @@ name: test-runner
description: |
Subagent that runs tests, verifies code correctness, and generates replication reports.
Compares results with paper's expected values and documents any differences.
+ Uses result-verifier for blind visual comparison to prevent bias.
mode: subagent
permission:
edit: allow
@@ -14,6 +15,8 @@ permission:
You run sanity tests, generate comparison figures, and create comprehensive replication reports with visual comparisons and explanations.
+**重要**: 图片对比必须使用 `result-verifier` 子 Agent 进行盲测验证,防止上下文偏见导致误判。
+
## Required Inputs
1. Generated code in `src/`
@@ -55,9 +58,33 @@ plt.title('Training Loss (Our Replication)')
plt.savefig('reports/figures/training_loss.png')
```
-### Step 3: Compare with Reference
+### Step 3: Compare with Reference (使用盲测验证)
-Load reference plots from `analysis/reference_images/` and compare side-by-side.
+**重要**: 不要自己判断图片是否匹配!必须使用 `result-verifier` Agent 进行盲测。
+
+对于每一张需要对比的图片,调用 `result-verifier` 子 Agent:
+
+```
+Task(
+ subagent_type="result-verifier",
+ prompt="""
+请验证以下图片对比:
+- 参考图: analysis/reference_images/fig3.png
+- 复现图: reports/figures/fig3.png
+- 图片说明: Figure 3 - S-SE vs Number of Channels
+"""
+)
+```
+
+**为什么要盲测验证?**
+1. 你有实现上下文,可能无意中为代码辩护
+2. result-verifier 没有上下文,只看图片客观判断
+3. 防止"代码能跑"就认为"结果正确"的偏见
+
+**验证结果处理**:
+- `PASS` → 在报告中标记 ✅ MATCH
+- `WARNING` → 在报告中标记 ⚠️ NEEDS REVIEW,附上验证器的具体问题
+- `FAIL` → 在报告中标记 ❌ FAIL,**必须列出所有失败原因**
### Step 4: Generate Report
@@ -246,6 +273,8 @@ The replication is **successful**. While exact numerical values differ slightly
## Difference Classification Guidelines
+**注意**: 以下分类仅适用于**数值差异**。对于**结构性差异**(如坐标轴变量不同、图表类型不同),必须标记为 FAIL,不可使用 ACCEPTABLE。
+
| Classification | Criteria | Action |
|----------------|----------|--------|
| **MATCH** | < 2% relative difference | Document and move on |
@@ -254,13 +283,25 @@ The replication is **successful**. While exact numerical values differ slightly
| **INVESTIGATE** | > 10% without clear cause | Review implementation for bugs |
| **PAPER_ISSUE** | Our results more reasonable | Document evidence of paper error |
+### 结构性问题 = 自动 FAIL
+
+以下情况**不可**标记为 ACCEPTABLE:
+- X轴或Y轴变量不同
+- 图表类型不同
+- 曲线/数据系列数量不同
+- Y轴范围差异超过 3 倍
+- 趋势方向相反
+
+这些属于**实现错误**,不是"随机种子差异"可以解释的。
+
## Quality Checklist
Before completing:
- [ ] All sanity tests executed and passing
- [ ] Replication figures generated and saved
-- [ ] Side-by-side comparisons created
+- [ ] **Each figure verified by result-verifier (blind test)**
+- [ ] result-verifier FAIL results addressed or clearly documented
- [ ] Every difference explained (not just listed)
- [ ] Core code snippets included with explanations
- [ ] Report is self-contained and readable
-- [ ] Conclusion states clear success/failure assessment
+- [ ] Conclusion reflects actual verification results (not optimistic assumptions)
diff --git a/download.py b/download.py
new file mode 100644
index 0000000..543d6f3
--- /dev/null
+++ b/download.py
@@ -0,0 +1,37 @@
+import os
+import urllib.request
+
+images = [
+ (
+ "https://cdn-mineru.openxlab.org.cn/result/2026-03-24/0d56f97d-c18c-44c9-aca6-ca0396c7d581/394f0e8c2f43987b4109d8842fa25e4c0385ca116ec0169de42f163621e39834.jpg",
+ "fig1.jpg",
+ ),
+ (
+ "https://cdn-mineru.openxlab.org.cn/result/2026-03-24/0d56f97d-c18c-44c9-aca6-ca0396c7d581/ce01b773d3b34678c8a12b896d8b0bcffcb7ea494c2bf19ff76b4e283cbfeaef.jpg",
+ "fig2.jpg",
+ ),
+ (
+ "https://cdn-mineru.openxlab.org.cn/result/2026-03-24/0d56f97d-c18c-44c9-aca6-ca0396c7d581/3204db8177d30d70838729ef95d84db1c8e7c75a18367c0cd6c13425c016690f.jpg",
+ "fig3.jpg",
+ ),
+ (
+ "https://cdn-mineru.openxlab.org.cn/result/2026-03-24/0d56f97d-c18c-44c9-aca6-ca0396c7d581/41c75c9a006cf5b6783405d99e1ae502a1dc6fe575f2cb897a4cf0e2aa02e733.jpg",
+ "fig4a.jpg",
+ ),
+ (
+ "https://cdn-mineru.openxlab.org.cn/result/2026-03-24/0d56f97d-c18c-44c9-aca6-ca0396c7d581/f1b5b1f978f2709f0479997e60f7010cca642327488a4d2eff6db3d5f68c4297.jpg",
+ "fig4b.jpg",
+ ),
+ (
+ "https://cdn-mineru.openxlab.org.cn/result/2026-03-24/0d56f97d-c18c-44c9-aca6-ca0396c7d581/419aa724b6768f034af9072caa4d8784e5d68a50c7aa83472f6c702d34d92df9.jpg",
+ "fig4c.jpg",
+ ),
+]
+
+os.makedirs("workspace/resource_allocation/paper_images/", exist_ok=True)
+os.makedirs("workspace/resource_allocation/analysis/reference_images/", exist_ok=True)
+
+for url, name in images:
+ urllib.request.urlretrieve(
+ url, f"workspace/resource_allocation/paper_images/{name}"
+ )
diff --git a/opencode.json b/opencode.json
index ed31088..a93dca3 100644
--- a/opencode.json
+++ b/opencode.json
@@ -16,6 +16,9 @@
},
"test-runner": {
"mode": "subagent"
+ },
+ "result-verifier": {
+ "mode": "subagent"
}
}
}
diff --git a/workspace/.gitkeep b/workspace/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/workspace/Resource_Allocation_for_Text_Semantic_Communications_2036430700550324224.md b/workspace/Resource_Allocation_for_Text_Semantic_Communications_2036430700550324224.md
new file mode 100644
index 0000000..5e43bff
--- /dev/null
+++ b/workspace/Resource_Allocation_for_Text_Semantic_Communications_2036430700550324224.md
@@ -0,0 +1,400 @@
+# Resource Allocation for Text Semantic Communications
+
+Lei $\mathrm { Y a n } ^ { \mathbb { P } }$ , Zhijin $\mathrm { Q i n } ^ { \mathbb { \oplus } }$ , Senior Member, IEEE, Rui Zhang Member, IEEE, Yongzhao Li $\operatorname { L i } ^ { \oplus }$ , Senior Member, IEEE, and Geoffrey Ye Li , Fellow, IEEE
+
+Abstract—Semantic communications have shown its great potential to improve the transmission reliability, especially in the low signal-to-noise regime. However, resource allocation for semantic communications still remains unexplored, which is a critical issue in guaranteeing the semantic transmission reliability and the communication efficiency. To fill this gap, we investigate the spectral efficiency in the semantic domain and rethink the semantic-aware resource allocation issue. Specifically, taking text semantic communication as an example, the semantic spectral efficiency (S-SE) is defined for the first time, and is used to optimize resource allocation in terms of channel assignment and the number of transmitted semantic symbols. Additionally, for fair comparison of semantic and conventional communication systems, a transform method is developed to convert the conventional bit-based spectral efficiency to the S-SE. Simulation results demonstrate the validity and feasibility of the proposed resource allocation method, as well as the superiority of semantic communications in terms of the S-SE.
+
+Index Terms—Semantic communications, semantic spectral efficiency, resource allocation.
+
+# I. INTRODUCTION
+
+W ITH growing wireless applications and increasing datatraffic, wireless communications are facing the bottleneck of spectrum scarcity, which motivates a paradigm shift from conventional to semantic communications [1], [2]. By focusing on transmitting the meaning of the source, semantic communications have shown a great potential to reduce the network traffic and thus alleviate spectrum shortage. Particularly, different types of semantic systems have been studied for different types of sources, including text [3], [4], image [5], [6], speech [7], and video [8], to ensure significant improvement in semantic transmission reliability. In this context, it is vital to investigate the resource allocation issue
+
+Manuscript received March 5, 2022; revised April 13, 2022; accepted April 21, 2022. Date of publication April 27, 2022; date of current version July 11, 2022. This work was supported in part by the National Natural Science Foundation of China under Grant 61901345, Grant 61901333, and Grant 62001358; in part by the Postdoctoral Science Foundation of China under Grant 2019M663630; in part by the Shaanxi Provincial Key Research and Development Program under Grant 2021ZDLGY04-08, Grant 2022ZDLGY05-03, and Grant 2022ZDLGY05-04; in part by the State Key Laboratory of Integrated Services Network under Grant ISN090105; in part by the 111 Project under Grant B08038; in part by the Huawei Technologies Ltd.; and in part by the China Scholarship Council under Grant 202006960013. The associate editor coordinating the review of this article and approving it for publication was D. B. da Costa. (Corresponding authors: Rui Zhang; Yongzhao Li.)
+
+Lei Yan, Rui Zhang, and Yongzhao Li are with the State Key Laboratory of Integrated Services Networks, Xidian University, Xi’an 710071, China (e-mail: lyan@stu.xidian.edu.cn; $\operatorname { r } Z ^ { ( \varpi ) }$ xidian.edu.cn; yzhli@xidian.edu.cn).
+
+Zhijin Qin is with the School of Electronic Engineering and Computer Science, Queen Mary University of London, London E1 4NS, U.K. (e-mail: z.qin@qmul.ac.uk).
+
+Geoffrey Ye Li is with the School of Electrical and Electronic Engineering, Imperial College London, London SW7 2AZ, U.K. (e-mail: geoffrey.li@imperial.ac.uk).
+
+Digital Object Identifier 10.1109/LWC.2022.3170849
+
+for semantic communications to improve the communication efficiency while guaranteeing the transmission reliability [9].
+
+In wireless communications, how to measure the information content as well as the spectral efficiency (SE) is fundamental to the resource allocation issue. Bit is used in the conventional communications. However, it is not applicable in semantic communications as bits are produced based on the statistic knowledge of source symbols rather than the semantic information of the source. Therefore, resource allocation needs to be rethought from the semantic perspective. The research on semantic theory has provided some insights on this issue. Carnap and Bar-Hillel [10] first attempted to measure the semantic information in a sentence based on the logical probability. On this basis, the semantic channel capacity was derived in [11] for the discrete memoryless channel, revealing the existence of the semantic coding strategy for reliable communications. Furthermore, semantic coding, the fundamental limits of semantic transmission, and semantic compression were investigated in [12]. However, the aforementioned works are based on abstract models without any hint of practical implementation and fail to quantify the SE in the semantic domain.
+
+Although a complete theory or a well-developed mathematical model for semantic communications is still missing, the success of semantic system design with the aid of deep learning (DL) makes it possible to define a calculable SE in the semantic domain. Particularly, the DL-enabled semantic communication system (DeepSC) [3] and its several variants [4], [13] can effectively extract the semantic information from text and successfully deliver the meaning to the receiver. In this letter, we use DeepSC as an example to explore the SE issue and the resource allocation problem in such a semanticaware network. The main contributions are as follows:
+
+A novel resource allocation model is proposed for semantic-aware networks. Specifically, the semantic spectral efficiency (S-SE) is first defined to measure the communication efficiency from the semantic perspective. Then a new formulation is proposed and solved to maximize the overall S-SE in terms of channel assignment and the number of transmitted semantic symbols.
+
+• To make a fair comparison between semantic and conventional communication systems, a transform method is developed to convert the bit-based SE to the S-SE.
+
+Simulation results verify the effectiveness of the proposed resource allocation model, as well as the superiority of semantic communication systems in terms of the S-SE.
+
+The rest of this letter is organized as follows. Section II introduces the system model. Semantic-aware resource allocation is formulated and solved in Section III. Section IV introduces a transform method for fair comparison of semantic and conventional communication systems and presents the simulation results. Section V concludes this letter.
+
+Notation: $\mathbb { R } ^ { n \times m }$ represents the set of real matrices of size $n \times m$ . Bold-font variables represent matrices and vectors. $x \sim$
+
+
+
+
+
+Fig. 1. The structure of semantic-aware networks.
+
+
+$\mathcal { C N } ( \mu , \sigma ^ { 2 } )$ means $x$ follows a circularly-symmetric complex Gaussian distribution with mean $\mu$ and covariance $\sigma ^ { 2 }$ .
+
+# II. SYSTEM MODEL
+
+We consider a cellular network consisting of a base station (BS) and a set of users denoted by $\mathcal { N } = \{ 1 , 2 , \dots , n , \dots , N \}$ , n Nas shown in Fig. 1. DeepSC [3] is adopted as the semantic communication model and equipped at each user for text transmission, where the semantics underlying text can be effectively extracted through Transformer. The DeepSC transceiver is assumed to be trained at the BS or cloud platforms. Then the trained semantic transmitter model is broadcast to users. In the following, we will detail the DeepSC transmitter at users, the transmission model, and the DeepSC receiver at the BS.
+
+# A. DeepSC Transmitter
+
+In our model, the $n$ -th user generates a sentence $\begin{array} { r l } { \mathbf { s } _ { n } } & { { } = } \end{array}$ $[ w _ { n , 1 } , w _ { n , 2 } , \ldots , w _ { n , l } , \ldots , w _ { n , L _ { n } } ] ,$ where $w _ { n , l }$ denotes the $l$ -th w wword and $L _ { n }$ w w wis the sentence length at the $n$ -th user. Then Lthe sentence is fed into the DeepSC transmitter and mapped to a semantic symbol vector ${ { \bf { X } } _ { n } } = [ { \bf { x } } _ { n , 1 } , { \bf { x } } _ { n , 2 } , . . . , { \bf { x } } _ { n , k _ { n } L _ { n } } ]$ where $\mathbf { X } _ { n } \in \mathbb { R } ^ { k _ { n } L _ { n } \times 2 }$ and $k _ { n } L _ { n }$ is the length of the semank Ltic symbol vector for a sentence at the $n$ -th user. We notice that the length of ${ \bf X } _ { n }$ varies with $L _ { n }$ to extract the semantic Linformation of sentences with different lengths more effectively [3]. In such a model, $k _ { n }$ denotes the average number kof semantic symbols used for each word at the $n$ -th user, and each semantic symbol can be transmitted over transmission medium directly.
+
+# B. Transmission Model
+
+Let $\mathcal { M } = \{ 1 , 2 , \dotsc , m , \dotsc , M \}$ denote the set of availm Mable channels in the network, where $M$ is the number of channels and each channel is with bandwidth W. The channel assignment vector of the $n$ -th user is denoted as ${ \pmb { \alpha } } _ { n } =$ $\left[ \alpha _ { n , 1 } , \alpha _ { n , 2 } , \ldots , \alpha _ { n , m } , \ldots , \alpha _ { n , M } \right]$ , where $\begin{array} { l l l } { \alpha _ { n , m } } & { \in } & { \{ 0 , 1 \} } \end{array}$ , $\alpha _ { n , m } ~ = ~ 1$ when the $m$ -th channel is allocated to the $n$ -th user, and $\alpha _ { n , m } = 0$ , otherwise. Assuming that each channel can only be allocated to at most one user and each user can only occupy at most one channel, we have
+
+$$
+\sum_ {n = 1} ^ {N} \alpha_ {n, m} \leq 1, \forall m \in \mathcal {M}; \sum_ {m = 1} ^ {M} \alpha_ {n, m} \leq 1, \forall n \in \mathcal {N}. \tag {1}
+$$
+
+In addition, we consider that all channels consist of large-scale fading and small-scale Rayleigh fading. The
+
+signal-to-noise ratio (SNR) of the $n$ -th user over the $m$ -th channel is
+
+$$
+\gamma_ {n, m} = \frac {p _ {n} g _ {n} \left| h _ {n , m} \right| ^ {2}}{W N _ {0}}, \tag {2}
+$$
+
+where $p _ { n }$ is the transmit power of the $n$ -th user, $g _ { n }$ is the plarge-scale channel gain of the $n$ g-th user including path loss and shadowing, $h _ { n , m } \sim \mathcal { C N } ( 0 , 1 )$ is the Rayleigh fading coefficient for the $n$ h-th user transmitting over the $m$ -th channel, and $N _ { 0 }$ is the noise power spectral density.
+
+# C. DeepSC Receiver
+
+At the BS, the signal from the $n$ -th user can be denoted as ${ \bf Y } _ { n } = \sqrt { g _ { n } } h _ { n , m } { \bf X } _ { n } + { \bf z }$ where z is additive white Gaussian g hnoise (AWGN) and each element of $\mathbf { z }$ follows $\mathscr { C N } ( 0 , N _ { 0 } )$ . The Nreceived signal will be decoded first by the channel decoder and thereby the semantic decoder to estimate sentence $\hat { \mathbf { s } } _ { n }$ .
+
+In order to evaluate the performance of semantic communications for text transmission, we adopt the semantic similarity [3] as the performance metric,
+
+$$
+\xi = \frac {\mathbf {B} (s) \mathbf {B} (\hat {s}) ^ {\mathrm {T}}}{\| \mathbf {B} (s) \| \| \mathbf {B} (\hat {s}) \|}, \tag {3}
+$$
+
+where B(·) denotes Sentence-Bidirectional Encoder Representations from Transformers (BERT) model. It achieves great improvement over state-of-the-art sentence embedding methods. A pre-trained Sentence-BERT model [14] is adopted. Compared with other semantic metrics, such as bilingual evaluation understudy (BLEU) [15], BERT-level similarity measures the distance of semantic information between two sentences more precisely. From (3), we have $0 \leq \xi \leq 1$ where $\xi = 1$ means that two sentences has the highest similarity and $\xi = 0$ indicates no similarity between them.
+
+# III. SEMANTIC-AWARE RESOURCE ALLOCATION
+
+In this section, the S-SE is first defined as a new metric for semantic-aware networks. Then the semantic-aware resource allocation is formulated as a S-SE maximization problem in terms of channel assignment and the number of transmitted semantic symbols. Finally, the optimal solution of the optimization problem is obtained.
+
+# A. Semantic Spectral Efficiency
+
+In conventional communications, spectral efficiency is measured in bits per second per Hertz $( b i t s / s / H z )$ , which can effectively measure the transmission rate of bit sequences but cannot be used to measure the transmission rate of semantic information. This is because the bit sequences are produced based on the statistical knowledge of the source and are irrelevant to the meaning of the source. Thus new performance metrics need to be investigated at the semantic level.
+
+For the sake of clarity, we assume that semantic information can be measured by the semantic unit (sut), which represents the basic unit of semantic information.1 Based on this, two crucial semantic-based performance metrics can be defined:
+
+Semantic transmission rate (S-R) refers to the effectively transmitted semantic information per second and is measured in suts/s.
+
+1The semantic unit here is just a concept and will not affect the resource optimization solution, the reason of which will be clarified in Section III-C.
+
+• Semantic spectral efficiency (S-SE) refers to the rate at which semantic information can be successfully transmitted over a unit of bandwidth, and is measured in suts/s/Hz.
+
+Then the expressions of S-R and S-SE are derived respectively in the following. Denote $\begin{array} { r l r } { { \mathcal { D } } } & { { } = } & { \{ ( { \bf s } _ { j } } \quad = \end{array}$ $[ w _ { j , 1 } , w _ { j , 2 } , \ldots , w _ { j , l } , \ldots , w _ { j , L _ { j } } ] ) \} _ { j = 1 } ^ { D }$ with size $D$ as the text w wdataset, where ${ \bf s } _ { j }$ is the $j$ w -th sentence with length $L _ { j }$ and $w _ { j , l }$ is the $l .$ L w-th word. Let the amount of semantic information of ${ \bf s } _ { j }$ be $I _ { j }$ . With $p ( \mathbf { s } _ { j } )$ representing the occurrence probability of ${ \bf s } _ { j }$ p, the expected amount of semantic information per sentence can be expressed as $\begin{array} { r } { I = \sum _ { j = 1 } ^ { D } I _ { j } p ( \mathbf { s } _ { j } ) } \end{array}$ , which cor-I I presponds to an expected number of words per sentence as $\begin{array} { r } { L = \sum _ { j = 1 } ^ { D } L _ { j } p ( \mathbf { s } _ { j } ) } \end{array}$ . Note that we focus on the long-term text L L ptransmission rather than the transmission of individual sentences, so the expected values $I$ and $L$ , instead of the random values, should be taken to obtain the representations of S-R and S-SE. Hence, at the $n$ -th user, there are $k _ { n } L$ semantic symk Lbols on average carrying the amount of semantic information of $I .$ , and the average amount of semantic information per semantic symbol is $\bar { I } / ( k _ { n } L )$ . Moreover, since the symbol rate I k Lis equal to the channel bandwidth for passband transmission, the total semantic information transmitted over the channel with bandwidth $W$ is $W I / ( k _ { n } L )$ . Thus the S-R of the $n$ -th user over the $m$ WI k L-th channel can be expressed as
+
+$$
+\Gamma_ {n, m} = \frac {W I}{k _ {n} L} \xi_ {\mathrm {n}, \mathrm {m}}, \tag {4}
+$$
+
+where $\xi _ { n , m }$ is the semantic similarity of the $n$ -th user over the $m$ -th channel. Note that $\xi _ { n , m }$ relies on the neural network structure of DeepSC and channel conditions. It can be expressed as a function of $k _ { n }$ and $\gamma _ { n , m }$ , i.e., $\xi _ { n , m } = f ( k _ { n } , \mathbf { \bar { \gamma } } _ { n , m } )$ k. From (4), the corresponding S-SE can f kbe expressed as
+
+$$
+\Phi_ {n, m} = \frac {\Gamma_ {n , m}}{W} = \frac {I}{k _ {n} L} \xi_ {\mathrm {n}, \mathrm {m}}. \tag {5}
+$$
+
+# B. Problem Formulation
+
+In this part, a semantic-aware resource allocation model is proposed to maximize the overall S-SE of all users. By denoting $\Phi$ as the overall S-SE of all users, we have
+
+$$
+\Phi = \sum_ {n = 1} ^ {N} \sum_ {m = 1} ^ {M} \alpha_ {n, m} \frac {\xi_ {n , m} I}{k _ {n} L}. \tag {6}
+$$
+
+The channel assignment vector is considered as one of the optimization variables to fully exploit the performance advantage of DeepSC in the low SNR regime. Furthermore, we also optimize the average number of the transmitted semantic symbols for each word, $k _ { n }$ , to enable each symbol to carry kmore semantic information and thus achieve higher S-SE while ensuring the same transmission reliability.
+
+According to the above analysis, the optimization problem can be formulated as
+
+$$
+\left(\mathbf {P 0}\right) \max _ {\boldsymbol {\alpha} _ {n}, k _ {n}} \Phi \tag {7}
+$$
+
+$$
+s. t. \quad C _ {1}: \alpha_ {n, m} \in \{0, 1 \}, \forall n \in \mathcal {N}, \forall m \in \mathcal {M}, \tag {7a}
+$$
+
+$$
+\mathrm {C} _ {2}: \sum_ {n = 1} ^ {N} \alpha_ {n, m} \leq 1, \forall m \in \mathcal {M}, \tag {7b}
+$$
+
+
+
+
+
+Fig. 2. The semantic similarity for DeepSC.
+
+
+$$
+\mathrm {C} _ {3}: \sum_ {m = 1} ^ {M} \alpha_ {n, m} \leq 1, \forall n \in \mathcal {N}, \tag {7c}
+$$
+
+$$
+\mathrm {C} _ {4}: k _ {n} \in \{1, 2, \dots , K \}, \tag {7d}
+$$
+
+$$
+\mathrm {C} _ {5}: \xi_ {n, m} \geq \xi_ {\text {t h}}, \tag {7e}
+$$
+
+$$
+\mathrm {C} _ {6}: \Phi_ {n, m} \geq \Phi_ {\mathrm {t h}}, \tag {7f}
+$$
+
+where $\mathrm { C _ { 1 } }$ , $\mathrm { C _ { 2 } }$ , and $\mathrm { C _ { 3 } }$ are channel assignment constraints, $\mathrm { C _ { 4 } }$ specifies the permitted range of the average number of semantic symbols per word with $K$ representing the maximum value, $\mathrm { C } _ { 5 }$ reflects the minimum required semantic similarity $\xi _ { \mathrm { t h } }$ , and $\mathrm { C _ { 6 } }$ restricts the minimum S-SE of users by $\Phi _ { \mathrm { t h } }$ .
+
+# C. The Optimal Solution
+
+To solve $\mathbf { \Pi } ( \mathbf { P 0 } )$ , two challenges should be addressed. One is how to deal with the term $I / L$ in the objective function, and the other is how to cope with $\xi _ { n , m }$ , which is closely related to $\Phi$ , $\mathrm { C } _ { 5 }$ , and $\mathrm { C _ { 6 } }$ .
+
+First, we note that the term $I / L$ depends on the type of source. According to the analysis in Section III-A, this term is a constant for a particular type of source, which will not affect the resource optimization. Consequently, we can omit this term when solving $( \mathbf { P 0 } )$ . Thus the optimization problem $( \mathbf { P 0 } )$ can be rewritten as
+
+$$
+\begin{array}{l} (\mathbf {P 1}) \max _ {\boldsymbol {\alpha} _ {n}, k _ {n}} \widetilde {\Phi} = \sum_ {n = 1} ^ {N} \sum_ {m = 1} ^ {M} \alpha_ {n, m} \frac {\xi_ {n , m}}{k _ {n}} \\ s. t. \quad C _ {1}, C _ {2}, C _ {3}, C _ {4}, C _ {5}, C _ {6}, \tag {8} \\ \end{array}
+$$
+
+Then, since $\xi _ { n , m }$ is dependent of the specific semantic communication system and physical channel conditions, we run the DeepSC model over AWGN channel to obtain the mapping between $\xi _ { n , m }$ and $\left( k _ { n } , \gamma _ { n , m } \right)$ , as shown in Fig. 2.
+
+kAfter addressing the two challenges, $( \mathbf { P 0 } )$ can be solved. Specifically, due to the orthogonality of different cellular links, (P1) can be decoupled into the following two equivalent independent optimization problems:
+
+$$
+\begin{array}{l} (\mathbf {P 2}) \max _ {k _ {n}} \widetilde {\Phi} _ {n, m} \\ \text {s . t .} \quad \mathrm {C} _ {4}, \mathrm {C} _ {5}, \mathrm {C} _ {6}, \tag {9} \\ \end{array}
+$$
+
+and
+
+$$
+\begin{array}{l} \left(\mathbf {P 3}\right) \max _ {\boldsymbol {\alpha} _ {n}} \sum_ {n = 1} ^ {N} \sum_ {m = 1} ^ {M} \alpha_ {n, m} \widetilde {\Phi} _ {n, m} ^ {\max } \\ s. t. \quad C _ {1}, C _ {2}, C _ {3}, \tag {10} \\ \end{array}
+$$
+
+where $\widetilde { \Phi } _ { n , m } = \xi _ { n , m } / k _ { n }$ and $\widetilde { \Phi } _ { n , m } ^ { \mathrm { m a x } }$ represents the maximum $\widetilde { \Phi } _ { n , m }$ kwith respect to $k _ { n }$ . (P2) targets on obtaining $\widetilde { \Phi } _ { n , m }$
+
+for all users over all candidate channels. Since $\xi _ { n , m }$ in $\mathrm { C } _ { 5 }$ and $\mathrm { C _ { 6 } }$ can only be obtained by the look-up table method, the exhausted searching method is adopted to solve $( \mathbf { P } 2 )$ . Moreover, (P3) can be regarded as a maximum match problem of a bipartite graph. It can be solved by the Hungarian algorithm [16], where two vertex sets are $\mathcal { N }$ and $\mathcal { M }$ respectively, and $\widetilde { \Phi } _ { n , m } ^ { \mathrm { m a x } }$ is regarded as the weight between the $n$ -th user and $m$
+
+# IV. SIMULATION RESULTS AND COMPARISON
+
+In order to evaluate the performance of the proposed semantic-aware resource allocation scheme comprehensively, we conduct the following verifications in the simulation:
+
+1) Comparing the proposed resource allocation model against the conventional one to verify the proposed model in semantic-aware networks.
+
+2) Comparing the S-SE of semantic and conventional communication systems to show the superiority of semantic communications.
+
+Since the conventional systems are usually assessed in the bit domain, we first develop a transform method to convert the typical SE to the S-SE by taking the effect of source coding into consideration, making fair comparisons possible. On this basis, simulation results are presented and analysed.
+
+# A. The Transform Method for Fair Comparisons
+
+In conventional communications, each letter in a word is mapped into bits through source encoder. From the semantic perspective, each bit can be loosely regarded as a semantic symbol although it may carry less semantic information than the semantic symbol of DeepSC. Similar to the definition in Section III-A, the equivalent S-R can be expressed as
+
+$$
+\Gamma_ {n, m} ^ {\prime} = C _ {n, m} \frac {I}{\mu L} \xi_ {n, m}, \tag {11}
+$$
+
+where $C _ { n , m }$ is the transmission rate of the $n$ -th user over the $m$ C-th channel, measured in bits/s, and $\mu$ is defined as the transforming factor revealing the ability of the source coding scheme in compressing data, representing the average number of bits per word, measured in bits/word. Specifically, if a word includes five letters on average and ASCII code is adopted to encode each letter, we will have $\mu = 4 0$ bits/word. Moreover, when we assume no bit error in conventional communications, $\xi _ { n , m }$ is equal to 1. By denoting $R _ { n , m } = C _ { n , m } / W$ as the SE, Rthe equivalent S-SE can be given by
+
+$$
+\Phi_ {n, m} ^ {\prime} = R _ {n, m} \frac {I}{\mu L}. \tag {12}
+$$
+
+Hence, the source coding process and bit transmission process are both considered to derive the S-SE of the conventional systems so that fair comparisons between different communication systems can be performed.
+
+# B. Benchmarks
+
+Considering the proposed resource allocation scheme is for a specific semantic system, i.e., DeepSC, we compare it with the following three benchmarks, including an ideal system and two practical ones that have been widely deployed:
+
+Ideal system: Shannon limit can be achieved with no bit errors, i.e., $R _ { n , m } = \log _ { 2 } ( 1 + \gamma _ { n , m } )$ .
+
+R 4G system: According to the measured SNR, the BS obtains the channel quality indicator (CQI) [17], based on which the achievable SE $R _ { n , m }$ can be obtained according Rto Table 7.2.3-1 in 3GPP TS 36.213.
+
+
+
+
+
+Fig. 3. The S-SE of the semantic-aware network with different models.
+
+
+
+TABLE I SIMULATION PARAMETERS
+
+
+
| Parameter | Value |
| Number of users, N | 5 |
| Number of channels, M | 5 |
| Channel bandwidth, W | 180 KHz |
| Noise power spectral density, N0 | -174 dBm/Hz |
| Pathloss model | 128.1+37.6lg[d(km)] dB |
| Shadow effect factor | 6 dB |
| Transmit power, pn | 10 dBm |
| Maximum number of symbols per word, K | 20 symbols/word |
| Semantic similarity threshold, ξth | 0.9 |
| S-SE threshold, Φth | 0.025(I/L) sut/s/Hz |
| Transforming factor, μ | 40 bits/word |
+
+5G system: Similar to 4G, the BS gets CQI based on the measured SNR [18], and then obtains the achievable SE $R _ { n , m }$ according to Table 5.2.2.1-2 in 3GPP TS 38.214.
+
+RNote that no scheme could achieve a higher bit transmission rate than the ideal system, but we focus on the S-SE to evaluate the performance in this letter. By adopting the developed transform method, the S-SE optimization problem of the above three benchmarks can be formulated as
+
+$$
+(\mathbf {P 4}) \max _ {\boldsymbol {\alpha} _ {n}} \sum_ {n = 1} ^ {N} \sum_ {m = 1} ^ {M} \alpha_ {n, m} \Phi_ {n, m} ^ {\prime \Delta} \tag {13}
+$$
+
+s.t. $\mathrm { C _ { 1 } , C _ { 2 } , C _ { 3 } }$
+
+$$
+\mathrm {C} _ {7}: \Phi_ {n, m} ^ {\prime \Delta} \geq \Phi_ {\mathrm {t h}}, \tag {13a}
+$$
+
+where Φ-Δ $\Phi _ { n , m } ^ { \prime \Delta }$ is the S-SE of the $n$ -th user over the $m$ -th channel in system $\Delta$ , $\Delta \in \{ \mathrm { I d e a l } , 4 \mathrm { G } , 5 \mathrm { G } \}$ . (P4) can be solved by the method introduced in Section III-C.
+
+# C. Simulation Results
+
+In our simulation, a circular network with radius $r = 5 0 0 \mathrm { m }$ is considered where $N$ users are distributed uniformly. Unless specifically stated, the relevant parameters are listed in Table I.
+
+We first examine the conventional resource allocation model in semantic-aware networks. In this simulation, the optimal channel assignment results of the conventional model in the ideal system is applied in the network, along with different values of $k _ { n }$ . Then the obtained S-SE is compared with that kof the proposed model. As shown in Fig. 3, the S-SE of the conventional model is smaller than that of the proposed model regardless of the value of $k _ { n }$ , which implies that the convenktional model is not suitable in semantic-aware networks. In addition, the S-SE of the conventional model with $k _ { n } ~ = ~ 3$ kis equal to 0 because the semantic similarity is less than the threshold in this case.
+
+
+
+
+
+(a) The S-SE versus the number of channels
+
+
+
+
+
+
+(b) The S-SE versus the transmit power.
+
+
+
+
+
+
+(c) The S-SE versus the transforming factor.
+
+
+In the following, we compare the different communication systems with the corresponding resource allocation model. Fig. 4(a) shows the S-SE of different systems versus the number of channels. When M is increased from 1 to 5, the S-SE of all systems increases rapidly because more users are served. Then when M keeps on increasing from 5 to 10, the S-SE grows slowly instead of remaining stable because more channels are available and users can choose the channel with higher SNR. Moreover, the semantic communication system outperforms all conventional communication systems.
+
+Fig. 4(b) illustrates the S-SE versus the transmit power. As $p _ { n }$ increases, the S-SE of the ideal system increases rapidly pwhile that of the semantic communication system, 4G system, and 5G system increase first and then tend to be a constant, implying that all practical systems have an upper bound with increasing SNR. Moreover, the semantic communication system shows a larger upper bound than 4G and 5G due to its stronger ability in compressing data.
+
+Fig. 4(c) shows the S-SE versus the transforming factor. The performance of the semantic communication system remains stable since the transforming factor is irrelevant to it. For the conventional systems, the S-SE decreases with increasing $\mu$ because the S-SE is the ratio of the SE to $\mu$ , and the maximum SE is a fixed value with different $\mu$ . Additionally, the semantic communication system yields better performance than both 4G and 5G when $\mu$ is larger than 19 bits/word. Nevertheless, when $\mu$ is smaller than approximately 27 bits/word, i.e., a word can be encoded to less than 27 bits, the semantic communication system performs worse than the ideal system. This figure demonstrates that whether semantic communication systems outperforms conventional ones to a great extent depends on the source coding scheme adopted in conventional systems.
+
+# V. CONCLUSION
+
+In this letter, we have studied the SE issue in the semantic domain and explored the resource allocation for semantic communications. Specifically, S-R and S-SE have been defined first to make it possible to measure the communication efficiency of the semantic communication system based on the DeepSC model. Aiming at maximizing the overall S-SE of all users, the semantic-aware resource allocation has been formulated as an optimization problem and the optimal solution has been obtained. Extensive simulation has been conducted to evaluate the performance of the proposed scheme. An insightful conclusion is that, for text transmission, semantic communication systems achieve a higher S-SE than both 4G and 5G systems when a word is mapped to more than 19 bits on average through conventional source coding techniques. Further, if
+
+the required bits for encoding a word is increased to more than 27 bits with 10 dBm transmit power, semantic communication systems even outperforms the ideal system. In the future, how to design resource allocation method to satisfy the requirements of multiple intelligence tasks including single modal and multimodal tasks should be further investigated.
+
+# REFERENCES
+
+
+
+[1] W. Tong and G. Y. Li, “Nine challenges in artificial intelligence and wireless communications for 6G,” Sep. 2021, arXiv: 2109.11320.
+
+
+
+
+
+[2] Z. Qin, X. Tao, J. Lu, and G. Y. Li, “Semantic communications: Principles and challenges,” Dec. 2021, arXiv: 2201.01389.
+
+
+
+
+
+[3] H. Xie, Z. Qin, G. Y. Li, and B.-H. Juang, “Deep learning enabled semantic communication systems,” IEEE Trans. Signal Process., vol. 69, no. 1, pp. 2663–2675, Apr. 2021.
+
+
+
+
+
+[4] M. Sana and E. C. Strinati, “Learning semantics: An opportunity for effective 6G communications,” in Proc. IEEE 19th Annu. Consum. Commun. Netw. Conf. (CCNC), Las Vegas, NV, USA, Jan. 2022, pp. 631–636.
+
+
+
+
+
+[5] C.-H. Lee, J.-W. Lin, P.-H. Chen, and Y.-C. Chang, “Deep learningconstructed joint transmission-recognition for Internet of Things,” IEEE Access, vol. 7, pp. 76547–76561, 2019.
+
+
+
+
+
+[6] E. Bourtsoulatze, D. B. Kurka, and D. Gündüz, “Deep joint sourcechannel coding for wireless image transmission,” IEEE Trans. Cogn. Commun. Netw., vol. 5, no. 3, pp. 567–579, Sep. 2019.
+
+
+
+
+
+[7] Z. Weng and Z. Qin, “Semantic communication systems for speech transmission,” IEEE J. Sel. Areas Commun., vol. 39, no. 8, pp. 2434–2444, Aug. 2021.
+
+
+
+
+
+[8] T.-Y. Tung and D. Gündüz, “DeepWiVe: Deep-learning-aided wireless video transmission,” Nov. 2021, arXiv: 2111.13034.
+
+
+
+
+
+[9] M. Kountouris and N. Pappas, “Semantics-empowered communication for networked intelligent systems,” IEEE Commun. Mag., vol. 59, no. 6, pp. 96–102, Jun. 2021.
+
+
+
+
+
+[10] R. Carnap and Y. Bar-Hillel, “An outline of a theory of semantic information,” Res. Lab. Electron., Massachusetts Inst. Technol., Cambridge, MA, USA, RLE Rep. 247, Oct. 1952.
+
+
+
+
+
+[11] J. Bao et al., “Towards a theory of semantic communication,” in Proc. IEEE Netw. Sci. Workshop, West Point, NY, USA, Jun. 2011, pp. 110– 117.
+
+
+
+
+
+[12] F. M. J. Willems and T. Kalker, “Semantic compaction, transmission, and compression codes,” in Proc. Int. Symp. Inf. Theory (ISIT), Adelaide, SA, Australia, Sep. 2005, pp. 214–218.
+
+
+
+
+
+[13] H. Xie, Z. Qin, and G. Y. Li, “Task-oriented multi-user semantic communications for VQA,” IEEE Wireless Commun. Lett., vol. 11, no. 3, pp. 553–557, Mar. 2022.
+
+
+
+
+
+[14] N. Reimers and I. Gurevych, “Sentence-BERT: Sentence embeddings using siamese bert-networks,” in Proc. Empr. Methods Nat. Lang. Process. (EMNLP), Nov. 2019, pp. 3982–3992.
+
+
+
+
+
+[15] K. Papineni, S. Roukos, T. Ward, and W.-J. Zhu, “BLEU: A method for automatic evaluation of machine translation,” in Proc. Annu. Meeting Assoc. Comput. Linguist. (ACL), Philadelphia, PA, USA, Jul. 2002, pp. 311–318.
+
+
+
+
+
+[16] H. W. Kuhn, “The Hungarian method for the assignment problem,” Naval Res. Logist. Quart., vol. 2, pp. 83–97, Mar. 1955.
+
+
+
+
+
+[17] A. Ghosh and R. Ratasuk, Essentials of LTE and LTE-A. Cambridge, U.K.: Cambridge Univ. Press, 2011.
+
+
+
+
+
+[18] E. Chu, J. Yoon, and B. C. Jung, “A novel link-to-system mapping technique based on machine learning for 5G/IoT wireless networks,” Sensors, vol. 19, no. 5, p. 1196, Mar. 2019.
+
diff --git a/workspace/resource_allocation/analysis/image_understanding.md b/workspace/resource_allocation/analysis/image_understanding.md
new file mode 100644
index 0000000..eb644cc
--- /dev/null
+++ b/workspace/resource_allocation/analysis/image_understanding.md
@@ -0,0 +1,39 @@
+# Image Understanding
+
+## Summary
+- Total images: 6
+- Architecture diagrams: 1
+- Experiment figures: 5
+- Other: 0
+
+---
+
+## Figure 1: The structure of semantic-aware networks
+**Type**: Architecture
+**Priority**: LOW
+**Key insight**: Shows a base station communicating with multiple users. Each user generates semantic symbols via a neural network model from their devices before transmission.
+
+## Figure 2: The semantic similarity for DeepSC
+**Type**: Plot
+**Priority**: MEDIUM
+**Key insight**: 3D surface plot showing how semantic similarity ($\xi_{n,m}$) depends on SNR (-10 to 20 dB) and the number of symbols per word ($k_n$, 0 to 20). High SNR and higher $k_n$ lead to semantic similarity approaching 1.0.
+
+## Figure 3: The S-SE of the semantic-aware network with different models
+**Type**: Plot
+**Priority**: HIGH
+**Key insight**: Line plot showing S-SE ($\Phi$) vs Number of channels ($M$). The proposed model achieves the highest S-SE (plateauing at 1.2), significantly outperforming conventional models with various fixed $k_n$ values.
+
+## Figure 4(a): The S-SE versus the number of channels
+**Type**: Plot
+**Priority**: HIGH
+**Key insight**: Compares Semantic, Ideal, 5G, and 4G systems. Semantic achieves the highest S-SE (1.2 at $M \ge 5$), followed by Ideal, 5G, and 4G.
+
+## Figure 4(b): The S-SE versus the transmit power
+**Type**: Plot
+**Priority**: HIGH
+**Key insight**: S-SE vs Transmit power (-40 to 23 dBm). The Semantic system quickly rises and plateaus around 10 dBm, outperforming 4G and 5G. The Ideal system grows continuously and overtakes the Semantic system at very high transmit power (around 18-20 dBm).
+
+## Figure 4(c): The S-SE versus the transforming factor
+**Type**: Plot
+**Priority**: HIGH
+**Key insight**: S-SE vs Transforming factor $\mu$ (bits/word) from 18 to 40. Semantic performance is constant (~1.18). Ideal, 5G, and 4G S-SE decrease as $\mu$ increases. Semantic outperforms 5G and 4G for $\mu > 19$, and outperforms Ideal for $\mu > 27$.
diff --git a/workspace/resource_allocation/analysis/paper_structure.md b/workspace/resource_allocation/analysis/paper_structure.md
new file mode 100644
index 0000000..42927d2
--- /dev/null
+++ b/workspace/resource_allocation/analysis/paper_structure.md
@@ -0,0 +1,91 @@
+# Paper Structure Analysis
+
+## Basic Information
+- **Title**: Resource Allocation for Text Semantic Communications
+- **Authors**: Lei Yan, Zhijin Qin, Rui Zhang, Yongzhao Li, Geoffrey Ye Li
+- **Year**: 2022
+- **Venue**: IEEE Wireless Communications Letters
+
+## Abstract Summary
+This paper introduces semantic spectral efficiency (S-SE) as a new metric to measure communication efficiency from a semantic perspective. Taking text semantic communication (using DeepSC) as an example, the authors formulate and solve a resource allocation problem to maximize overall S-SE via channel assignment and semantic symbol length optimization. A transform method is also proposed for fair comparison between bit-based and semantic-based communication systems.
+
+## Problem Statement
+Conventional communications use bit-based spectral efficiency, which is not applicable for semantic communications as bits are irrelevant to the meaning of the source. Resource allocation needs to be rethought from the semantic perspective to maximize communication efficiency while guaranteeing transmission reliability in semantic-aware networks.
+
+## Key Contributions
+1. Proposing a novel resource allocation model for semantic-aware networks by defining Semantic Spectral Efficiency (S-SE) for the first time.
+2. Formulating and solving an optimization problem to maximize overall S-SE in terms of channel assignment and the number of transmitted semantic symbols.
+3. Developing a transform method to convert bit-based SE to S-SE to make fair comparisons between semantic and conventional communication systems.
+
+## Method Overview
+
+### Architecture
+The system consists of a cellular network with a base station and multiple users. DeepSC is adopted as the semantic communication model for text transmission, utilizing Transformer architecture to map sentences to semantic symbols. The symbol vector length varies based on the sentence length and the average number of semantic symbols per word ($k_n$). The receiver decodes the symbols using a channel decoder and semantic decoder, evaluated by BERT-level semantic similarity.
+Reference to `Figure 1: The structure of semantic-aware networks` from `image_understanding.md`.
+
+### Key Components
+| Component | Description | Implementation Priority |
+|-----------|-------------|------------------------|
+| Semantic Spectral Efficiency (S-SE) Metric | Defines the effectively transmitted semantic information over a unit of bandwidth. | High |
+| DeepSC Transmitter/Receiver | Transformer-based semantic encoder/decoder. | Low (Pre-trained look-up table used) |
+| Resource Allocation Optimizer | Solves for optimal $k_n$ and channel assignment $\alpha_{n,m}$ using exhaustive search and the Hungarian algorithm. | High |
+| Transform Method & Baselines | Converts conventional bit-based SE to S-SE based on a transforming factor $\mu$ (bits/word). Evaluates Ideal, 4G, and 5G baselines. | High |
+
+### Mathematical Formulation
+S-R (Semantic transmission rate) and S-SE (Semantic spectral efficiency):
+
+$$
+\Gamma_{n, m} = \frac{W I}{k_n L} \xi_{n, m}
+$$
+
+$$
+\Phi_{n, m} = \frac{\Gamma_{n, m}}{W} = \frac{I}{k_n L} \xi_{n, m}
+$$
+
+Optimization Objective (P0/P1) to maximize total S-SE:
+
+$$
+\max_{\boldsymbol{\alpha}_n, k_n} \widetilde{\Phi} = \sum_{n=1}^{N} \sum_{m=1}^{M} \alpha_{n, m} \frac{\xi_{n, m}}{k_n}
+$$
+
+### Training Details
+- **Optimizer**: DeepSC is pre-trained; the resource allocation uses Hungarian algorithm & exhaustive search.
+- **Hardware**: Assumed pre-trained at the BS or cloud platforms.
+- **Note**: The paper abstracts the DeepSC performance into a mapping between $\xi_{n,m}$ (semantic similarity), $k_n$, and SNR $\gamma_{n,m}$ over an AWGN channel.
+
+## Experiments
+
+### Datasets
+| Dataset | Size | Purpose |
+|---------|------|---------|
+| Synthetic Cellular Network | N=5, M=5 (default) | Resource allocation optimization simulation |
+| Text dataset (implicit) | N/A | To obtain DeepSC semantic similarity performance look-up table |
+
+### Metrics
+- **Semantic similarity ($\xi$)**: Evaluated using pre-trained Sentence-BERT model.
+- **Semantic Spectral Efficiency (S-SE)**: Measured in suts/s/Hz.
+- **Transforming factor ($\mu$)**: Measured in bits/word.
+
+### Key Results
+- The proposed resource allocation model maximizes S-SE, significantly outperforming conventional models with fixed $k_n$.
+- The semantic communication system achieves higher S-SE than 4G and 5G systems for text transmission when the transforming factor $\mu > 19$ bits/word.
+- It outperforms the ideal Shannon limit system when $\mu > 27$ bits/word.
+Reference to Figure 3, Figure 4a, Figure 4b, Figure 4c from `image_understanding.md`.
+
+## Appendix Notes
+No supplementary material findings explicitly stated, but baseline implementation details refer to 3GPP TS 36.213 (4G) and TS 38.214 (5G) tables for CQI to SE mapping.
+
+## Data Source Labeling
+
+### Figure 3: S-SE with different models
+| Data Point | Value | Source | Reliability |
+|------------|-------|--------|-------------|
+| S-SE Proposed Model Plateau | ~1.2 | Image extraction | REFERENCE ONLY |
+
+### Figure 4a, 4b, 4c: Comparison curves
+| Data Point | Value | Source | Reliability |
+|------------|-------|--------|-------------|
+| S-SE Semantic (M>=5) | ~1.2 | Image extraction | REFERENCE ONLY |
+| Semantic transmit power plateau | ~10 dBm | Image extraction | REFERENCE ONLY |
+| $\mu$ cross point (Semantic vs 5G/4G) | 19 | Paper text, Section IV.C | HIGH |
+| $\mu$ cross point (Semantic vs Ideal) | 27 | Paper text, Section IV.C | HIGH |
diff --git a/workspace/resource_allocation/analysis/reference_images/fig2.png b/workspace/resource_allocation/analysis/reference_images/fig2.png
new file mode 100644
index 0000000000000000000000000000000000000000..0d7626689c1a19ef5576f638a1ba9402d22e9581
GIT binary patch
literal 331846
zcmeEti$7EUAAdKWltL*gu~f)C2_g20Zpi(9uN1l84I4@>Q79~xTke-(ZZpiRD00tb
zZnKS$>r7*tnal6c_xt<(55LFP<58VFwzISM<@LP1-m!-I_l_SucXZ#reaE%$-!|U2
zk7In_zC#t9{{X+4^ndjS_(#S6j-|hemyR>C`RaZKJRdbz;>vMr-=SN)5&J|q-zuEaI^Z|dL;pniMA_zm
z;*_gvAyD_k40SiZz@-sd*ODQ3OpAy!C-1>qMV_yQ?CkJ(J8P%d!4u0k6mwSi-HEfR
z%?Qcr4R*Gupk2mU;S*;+!ddH!y^D=Zd*IRbejZBq1%bH#`@dr^)c$+Pal!lWf3838
zJGA`YU!QvZMd&}*&kyj{9sJL=;l2Zq|GwntzZ3tx;lKMi$APcA_j6_6|8D-Dq4?jh
z{BO1VXDR$|6aBBY{AVfb`(MfZA6WcnE&LBd|No>GpAq@_qQrW?dw5s6Hu*F#+Ybp+
z>hpW7>ml?HY4PjJ!wue(5#_e^IhVC-Dk?q?6dEkf_2tH0{2d6q`ni5OI;&upQo$zj
zT}lL%J?DrJGQP|P-JGSTr|072B=(@5faFe2PF4+ANYT%{SsWXCL}fN}jkwEfYme^%
z@5Dh*M@KCxZl{R^rD6?590RE&p@Pxb*;zq8iUrahKhv4o!fx|9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