Skip to content
beginnertext

OATH-Frames Attitudes Towards Homelessness in Social Media Posts

Filter posts for relevance, then tag each with the nine OATH-Frames attitudes towards homelessness using radio and multiselect schemes. Items are illustrative.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/computational-social-science/oath-frames-homelessness-attitudes
potato start config.yaml

About this dataset

OATH-Frames is a set of nine issue-specific frames for online attitudes towards homelessness, by Jaspreet Ranjit, Brihi Joshi, Rebecca Dorn, Laura Petry, Olga Koumoundouros, Jayne Bottarini, Peichen Liu, Eric Rice, and Swabha Swayamdipta. The paper appeared at EMNLP 2024 and won an Outstanding Paper award. Expert annotators label posts with the frames, and the paper then studies how language model assistants can help scale the labeling.

In the paper, each expert first decides whether a post should be filtered out as not relevant to public attitudes towards homelessness, and for relevant posts selects at least one frame. The design reproduces that two-step form with a relevance radio scheme and a multiselect over the nine frames from the paper's Table 1, with the definitions shortened for tooltips. The relevance question and its two labels are written for this design, since the original interface is shown only as an image. The posts are illustrative and were written for the design, so no dataset rows are copied. Some posts contain demeaning statements about people experiencing homelessness, and the instructions open with a content note. Potato has no content-warning feature, so the note is plain text.

Frames
9, multilabel
Annotators in the paper
Domain experts and trained annotators
Sample items in this design
10 illustrative posts, one of them off-topic

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# OATH-Frames: frames for attitudes towards homelessness in social media posts (EMNLP 2024 Outstanding Paper)
#
# Paper:   Ranjit et al., "OATH-Frames: Characterizing Online Attitudes Towards Homelessness with LLM
#          Assistants", EMNLP 2024, doi 10.18653/v1/2024.emnlp-main.724
# Data:    https://dill-lab.github.io/oath-frames/ (Hugging Face collection dill-lab/oath-frames; the
#          expert-annotation dataset dill-lab/oath-frames-expert-annotations carries licence MIT on
#          its card). The posts are Twitter text, so the items here are not copied from it.
# Protocol (paper section 3.1 and Appendix B.1): "each expert (domain and trained) annotator performs
#          a 9-way-multilabel classification of Issue-specific frames". "The expert first determines
#          whether the post should be filtered out if it is not relevant to public attitudes towards
#          homelessness. For relevant posts, the expert must select at least one or more
#          Issue-specific frames to label the post." Frame names and definitions are Table 1.
# Adaptations: the paper's interface (Figure 11) is an earlier iteration with more frames; this
#          design uses the nine frames of Table 1. Definitions are shortened from Table 1 (the
#          Deserving vs. Undeserving gloss is a paraphrase). The relevance question and its two
#          labels are written for this design from the Appendix B.1 filter step and the section 2
#          discard criteria ("ambiguous, underspecified or unrelated"); they are not quoted from the
#          interface, which is shown only as an image (Figure 11). Items are
#          invented illustrative posts, not dataset rows. Expert training and the LLM-assisted
#          pipeline are study design, not config blocks.

annotation_task_name: "OATH-Frames attitudes towards homelessness"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: text

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

annotation_schemes:
  - annotation_type: radio
    name: relevance
    description: "Is the post about public attitudes and opinions on homelessness?"
    labels:
      - "Relevant"
      - "Filter out (ambiguous, underspecified or unrelated)"
    label_requirement:
      required: true

  - annotation_type: multiselect
    name: oath_frames
    description: "For a relevant post, select every frame that characterizes it (at least one)."
    labels:
      - name: "Government Critique"
        tooltip: "Criticism about government body, policies and laws, including homelessness through the lens of political parties and values"
      - name: "Money Aid Resource Allocation"
        tooltip: "Discussion of money, aid or resource disbursement on addressing the homelessness issue"
      - name: "Societal Critique"
        tooltip: "Criticism of social norms, systems and society at large in how homelessness is being addressed and perceived"
      - name: "Solutions and Interventions"
        tooltip: "Discussion of solutions, interventions, charitable acts and remedies to address the homelessness crisis"
      - name: "Not in my Backyard"
        tooltip: "Opposition by residents to proposed developments in their local area, or support for strict land use regulations"
      - name: "Personal Interaction"
        tooltip: "Anecdote describing a direct personal exchange with people experiencing homelessness"
      - name: "Media Portrayal"
        tooltip: "Portrayal of fictional or real people experiencing homelessness as described in the media"
      - name: "Deserving vs. Undeserving of Resources"
        tooltip: "Perpetuating a hierarchy of people experiencing homelessness with other marginalized communities, or generalizations used to justify who deserves aid"
      - name: "Harmful Generalization"
        tooltip: "Blanket statements that ascribe an undesirable characteristic to people experiencing homelessness"

user_config:
  allow_all_users: true

annotation_instructions: |
  Content note: some posts contain hostile or demeaning statements about people experiencing
  homelessness, and the Harmful Generalization frame exists to mark them. Stop at any time if a post
  is distressing, and the study should offer annotators a way to skip or withdraw.

  Read the post. If it is not about public attitudes towards homelessness, choose "Filter out" and
  leave the frames empty. Otherwise select all frames that apply. A post can carry more than one
  frame.

Sample Data

json
[
  {
    "id": "oath_001",
    "text": "The county found money for a new stadium parking lot but says there is nothing left for shelter beds. Priorities, people."
  },
  {
    "id": "oath_002",
    "text": "Everyone loves transitional housing until it is proposed on their own street. Funny how the meetings fill up."
  }
]

// ... and 8 more items

Dataset & paper

Ranjit et al., EMNLP 2024

Paper DOI
10.18653/v1/2024.emnlp-main.724

Citation (BibTeX)

bibtex
@inproceedings{ranjit-etal-2024-oath,
    title = "{OATH}-Frames: Characterizing Online Attitudes Towards Homelessness with {LLM} Assistants",
    author = "Ranjit, Jaspreet  and
      Joshi, Brihi  and
      Dorn, Rebecca  and
      Petry, Laura  and
      Koumoundouros, Olga  and
      Bottarini, Jayne  and
      Liu, Peichen  and
      Rice, Eric  and
      Swayamdipta, Swabha",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.emnlp-main.724/",
    doi = "10.18653/v1/2024.emnlp-main.724",
    pages = "13033--13059"
}

Details

Annotation Types

radiomultiselect

Domain

Computational Social ScienceSocial Media AnalysisPublic Attitudes

Use Cases

Frame AnalysisMultilabel ClassificationRelevance Filtering

Tags

oath-frameshomelessnessframessocial mediaemnlp 2024multilabel

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)