File size: 3,367 Bytes
3527ed2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
task_categories:
- text-classification
language:
- vi
---
## Dataset Card for ViSpamReviews

### 1. Dataset Summary

**ViSpamReviews** is a Vietnamese e‑commerce review dataset for spam detection, with both:

* **Binary task**: `Label` ∈ {0 = non‑spam, 1 = spam}.
* **Multi‑class task**: `SpamLabel` ∈ {0 = NO-SPAM, 1 = SPAM-1 (fake review), 2 = SPAM-2 (brand‑only), 3 = SPAM-3 (irrelevant)}.

It collects reviews from major Vietnamese online shopping platforms, annotated via a strict procedure to identify deceptive or irrelevant content.


### 2. Supported Tasks and Metrics

* **Tasks**

  * **Binary classification**: Is the review spam?
  * **Multi‑class classification**: Type of spam review.
* **Metrics**

  * **Binary**: Accuracy, macro F1
  * **Multi‑class**: Accuracy, macro F1

On PhoBERT, the original achieves **86.89%** macro F1 on binary and **72.17%** macro F1 on multi‑class.

### 3. Languages

* Vietnamese

### 4. Dataset Structure

The unified CSV has these columns:

| Column      | Type   | Description                                                         |
| ----------- | ------ | ------------------------------------------------------------------- |
| `dataset`   | string | Source identifier (always `ViSpamReviews` in this unified version). |
| `type`      | string | Split: `train` / `validation` / `test`.                             |
| `comment`   | string | The raw user review text.                                           |
| `Label`     | int    | Binary spam flag: 0 = non‑spam, 1 = spam.                           |
| `SpamLabel` | int    | Multi‑class label: 0=NO-SPAM, 1=SPAM-1, 2=SPAM-2, 3=SPAM-3.         |

### 5. Data Fields

* **Comment** (`str`): The user's product review.
* **Label** (`int`): Binary spam label.
* **SpamLabel** (`int`): Spam type (0–3).
* **type** (`str`): Which split this example belongs to.
* **dataset** (`str`): Always `ViSpamReviews` for provenance.


### 6. Usage

```python
from datasets import load_dataset

ds = load_dataset("visolex/vispamreviews")

train = ds.filter(lambda ex: ex["type"] == "train")
val   = ds.filter(lambda ex: ex["type"] == "dev")
test  = ds.filter(lambda ex: ex["type"] == "test")

print(train[0])
```


### 7. Source & Links

* **GitHub (original code & raw data)**
  [https://github.com/sonlam1102/vispamdetection](https://github.com/sonlam1102/vispamdetection)
* **Original Paper**
  Van Dinh et al. (2022), “Detecting Spam Reviews on Vietnamese E‑Commerce Websites” ([arxiv.org][1])

---

### 8. Licensing and Citation

#### License

Refer to the GitHub repo’s LICENSE. If unspecified, assume **CC BY 4.0**.

#### How to Cite

```bibtex
@InProceedings{10.1007/978-3-031-21743-2_48,
  author    = {Van Dinh, Co and Luu, Son T. and Nguyen, Anh Gia-Tuan},
  title     = {Detecting Spam Reviews on Vietnamese E-Commerce Websites},
  booktitle = {Intelligent Information and Database Systems},
  year      = {2022},
  publisher = {Springer International Publishing},
  pages     = {595--607},
  isbn      = {978-3-031-21743-2}
}

@misc{sonlam1102_vispamdetection,
  title        = {ViSpamReviews: Spam Reviews Detection on Vietnamese E‑Commerce},
  author       = {{sonlam1102}},
  howpublished = {\url{https://github.com/sonlam1102/vispamdetection}},
  year         = {2022}
}

```