OTel-Safety / README.md
farbodtavakkoli's picture
Update card: links, resources, citation, contact
3329fa1 verified
|
Raw History Blame Contribute Delete
6.35 kB
metadata
license: apache-2.0
task_categories:
  - text-generation
language:
  - en
tags:
  - telecommunications
  - telecom
  - 3gpp
  - oran
  - gsma
  - rag
  - abstention
  - safety
  - domain-specific
  - otel
size_categories:
  - 100K<n<1M
pretty_name: OTel-Safety
dataset_info:
  features:
    - name: anchor
      dtype: string
    - name: prompt
      dtype: string
    - name: completion
      dtype: string
    - name: prompt_type
      dtype: string
    - name: abstention
      dtype: bool
    - name: n_positive_chunks
      dtype: int64
    - name: n_negative_chunks
      dtype: int64
    - name: prompt_token_count
      dtype: int64
    - name: completion_token_count
      dtype: int64

OTel-Safety

Dataset Summary

OTel-Safety is a specialized dataset for training large language models to abstain from answering when the retrieved context in a RAG pipeline is insufficient or irrelevant. It is part of the Open Telco (OTel) AI project, the largest open-source AI initiative in telecommunications, curated by over 100 domain experts from industry and academia.

In deployed RAG systems, a common failure mode is hallucination when the retrieval step returns passages that do not contain the information needed to answer a query. OTel-Safety directly addresses this by providing training examples where the model must recognize context insufficiency and produce a refusal rather than a fabricated answer. The dataset shares its schema with OTel-LLM but is focused on the abstention objective.

Dataset Structure

Each sample contains the following fields:

Field Type Description
anchor string The source passage or retrieved context chunk associated with the sample.
prompt string The instruction-formatted input provided to the model, including the context and query.
completion string The reference output. For abstention samples, this is a refusal response indicating insufficient context.
prompt_type string A categorical label indicating the type of instruction.
abstention bool Whether the sample is an abstention example. In this dataset, the abstention rate is elevated relative to OTel-LLM to emphasize the safety objective.
n_positive_chunks int64 The number of context chunks in the prompt that are relevant to the query.
n_negative_chunks int64 The number of context chunks in the prompt that are irrelevant to the query (distractors).
prompt_token_count int64 Token count of the prompt.
completion_token_count int64 Token count of the completion.

Data Sources and Contributor Attribution

The OTel corpus was curated by 100+ domain experts from industry and academia. Each source class was contributed by a specific institutional partner:

Source Contributor Raw samples
arXiv telecom papers, 3GPP standards, telecom Wikipedia, telecom Common Crawl pages Yale University 681,172
GSMA Permanent Reference Documents (PRDs), Discover portal, mixed telecom documents GSMA 158,006
IETF RFC series NetoAI 100,751
Industry whitepapers Khalifa University 62,000
O-RAN specifications across working groups 1, 2, 4, 5, 6, 7, 8, 9, 10 University of Leeds 58,565
O-RAN documents across working groups The University of Texas at Dallas 42,000
Total raw samples ~1,102,494

After the four-stage cleaning pipeline (described below), the corpus was reduced to 326,767 higher-confidence examples across the OTel dataset family.

Data Collection and Processing

The raw corpus comprised approximately 1.1 million samples. A four-stage cleaning pipeline reduced this to 326K samples across the OTel dataset family:

  1. Heuristic filtering: Rule-based removal of malformed, duplicated, or low-quality entries.
  2. Reranking filtering: Relevance scoring with a cross-encoder reranker to discard weakly aligned prompt-completion pairs.
  3. Embedding filtering: Semantic quality assessment with a strong embedding model to remove outliers and near-duplicates in embedding space.
  4. Deduplication: Final deduplication pass to ensure sample uniqueness.

Abstention samples were constructed by pairing queries with context passages that lack the information needed to answer, requiring the model to learn when to refuse rather than hallucinate.

Intended Use

OTel-Safety is intended for fine-tuning large language models to improve abstention behavior in telecom-domain RAG pipelines. Target applications include:

  • Training models to reliably refuse answering when retrieved context is insufficient, reducing hallucination in production RAG systems.
  • Supplementing OTel-LLM during fine-tuning to balance answering capability with appropriate refusal behavior.
  • Research on calibrated abstention and safety-aware generation in domain-specific settings.

Limitations

  • Domain scope: The dataset covers telecommunications standards and specifications. Abstention behavior learned from this data may not transfer to other domains without adaptation.
  • Language: English only.
  • Abstention boundary: The distinction between sufficient and insufficient context is defined by the data generation pipeline. Edge cases may exist where the label does not align with human judgment.
  • Temporal coverage: The source documents reflect standards and specifications available at the time of collection.

Resources

Citation

@inproceedings{tavakkoli2026otel,
  title     = {OTel: Open Telco AI Datasets, Benchmarks, and Models},
  author    = {Tavakkoli, Farbod and others},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS), Evaluations and Datasets Track},
  year      = {2026},
  url       = {https://github.com/farbodtavakkoli/OTel}
}